Forum .LRN Q&A: Forum posting and attachments broken?

Hi,

I'm using dotlrn 1.0.1 with openacs 4.6.3.  When I make a posting with an attachment, and try to view it, I get the error below.  Is this something that is fixed in a more recent version of the forums/attachments packages?

Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")

ERROR:  pg_atoi: error in "1836 {}": can't parse " {}"

SQL:

        select content_extlink__is_extlink (
          '1836 {}'
        );


    while executing
"ns_pg_bind 0or1row nsdb0 {

        select content_extlink__is_extlink (
          :item_id
        );

      }"
    ("uplevel" body line 1)
    invoked from within
"uplevel $ulevel [list ns_pg_bind $type $db $sql]"
    invoked from within
"db_exec 0or1row $db $full_name $sql"
    invoked from within
"set selection [db_exec 0or1row $db $full_name $sql]"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $code_block "
    invoked from within
"db_with_handle db {
    set selection [db_exec 0or1row $db $full_name $sql]
    }"
    (procedure "db_string" line 7)
    invoked from within
"db_string extlink_check {}"
    (procedure "content_extlink::extlink_p" line 3)
    invoked from within
"content_extlink::extlink_p -item_id $item_id"
    (procedure "attachments::get_attachments" line 7)
    invoked from within
"attachments::get_attachments -object_id $message(message_id)"
    invoked from within
"set attachments [attachments::get_attachments -object_id $message(message_id)]"
    ("uplevel" body line 19)
    invoked from within
"uplevel {
          ad_page_contract {
    a message attachment chunk to be included to display attachments

    @author ben (mailto:ben@openforce.net)
    @cre..."
    (procedure "code::tcl::/Users/spauser/web/spa/packages/forums/www/messag..." line 2)
    invoked from within
"code::tcl::$__adp_stub"
    invoked from within
"if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init tcl $__adp_stub
..."
    ("uplevel" body line 3)
    invoked from within
"uplevel {

    if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init t..."
    (procedure "adp_prepare" line 2)
    invoked from within
"adp_prepare "
    (procedure "template::adp_parse" line 30)
    invoked from within
"template::adp_parse [template::util::url_to_file "message-attachment-chunk" "$__adp_stub"] [list &message "message" bgcolor "${table_bgcolor}"]"
    invoked from within
"if {! ([template::util::is_nil message(n_attachments)]) && "$message(n_attachments)" > "0"} {
append __adp_output [template::adp_parse [template::util..."
    ("uplevel" body line 102)
    invoked from within
"uplevel {
          set __adp_output ""
append __adp_output "
<tr style=\"color: black; background-color: ${table_bgcolor};\">
"
if {[template::util::is_..."
    (procedure "template::code::adp::/Users/spauser/web/spa/packages/forums/..." line 2)
    invoked from within
"template::code::${template_extension}::$__adp_stub"
    (procedure "template::adp_parse" line 57)
    invoked from within
"template::adp_parse [template::util::url_to_file "message-chunk" "$__adp_stub"] [list bgcolor "${table_bgcolor}" forum_moderated_p "${forum_moderated_..."
    invoked from within
"append __adp_output [template::adp_parse [template::util::url_to_file "message-chunk" "$__adp_stub"] [list bgcolor "${table_bgcolor}" forum_moderated_..."
    ("uplevel" body line 48)
    invoked from within
"uplevel {
          set __adp_output ""

    set __adp_master [template::util::url_to_file "[ad_parameter -package_id [ad_conn subsite_id] DefaultMaster ..."
    (procedure "template::code::adp::/Users/spauser/web/spa/packages/forums/..." line 2)
    invoked from within
"template::code::${template_extension}::$__adp_stub"
    (procedure "template::adp_parse" line 57)
    invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
    (procedure "adp_parse_ad_conn_file" line 7)
    invoked from within
"$handler"
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
    $handler
      } ad_script_abort val {
    # do nothing
      }"
    invoked from within
"rp_serve_concrete_file [ad_conn file]"
    (procedure "rp_serve_abstract_file" line 60)
    invoked from within
"rp_serve_abstract_file "$root/$path""
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
    rp_serve_abstract_file "$root/$path"
    set tcl_url2file([ad_conn url]) [ad_conn file]
    set tcl_url2path_info([ad_conn url]) [ad_conn path_inf..."