Forum OpenACS Q&A: Re: Project manager 1.05 released

Collapse
Posted by Richard Hamilton on
I have done the upgrade to 1.06 but there is a problem that is preventing most functions from working.

My config file is the same for several server instances and I have not seen this problem before.

This post seems to be related and suggests that the issue may relate to a blank parameter accessed through ad_parameter but I am not clear exactly how this differs in OpenACS 5.1 (https://openacs.org/forums/message-view?message_id=16190)

Any attempt to add a task to a project or an item to a logger project results in this:

[05/Jun/2004:21:34:09][6650.49156][-conn0-] Error: GET http://63.246.8.13:8447/project-management/logger/log?project%5fid=1022
referred by "https://63.246.8.13:8447/project-management/logger/project-select"
can't use non-numeric string as operand of "!"
    while executing
"if {!$edit_p} {
        # now set up dependency options

        for {set j 1} {$j <= $number} {incr j} {
            if {![string equal $current_numb..."
    (procedure "pm::task::options_list" line 38)
    invoked from within
"pm::task::options_list  -project_item_id $pm_project_id"
    invoked from within
"if {[logger::util::project_manager_linked_p]} {

    set task_options [list]

    set task_options [pm::task::options_list  -project_item_id $pm_proje..."
    ("uplevel" body line 177)
    invoked from within
"uplevel {
          ad_page_contract {
    Add/edit/display a log entry.

    @author Peter Marklund (mailto:peter@collaboraid.biz)
    @author Jade Rubick ..."
    (procedure "code::tcl::/web/tradeadev/packages/logger/www/log" 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 [file root [ad_conn file]] {}"
    (procedure "adp_parse_ad_conn_file" line 5)
    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..."