Index: openacs-4/packages/bug-tracker/www/patch.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/www/patch.tcl,v diff -u -r1.7 -r1.7.4.1 --- openacs-4/packages/bug-tracker/www/patch.tcl 3 Oct 2003 16:58:22 -0000 1.7 +++ openacs-4/packages/bug-tracker/www/patch.tcl 11 Jan 2005 18:42:13 -0000 1.7.4.1 @@ -463,11 +463,15 @@ set workflow_id [bug_tracker::bug::get_instance_workflow_id] set bug_id [bug_tracker::get_bug_id -bug_number $bug_number -project_id $package_id] + set case_id [workflow::case::get_id \ + -workflow_short_name "[bug_tracker::bug::workflow_short_name]" \ + -object_id $bug_id] set action_id [workflow::action::get_id -workflow_id $workflow_id -short_name "resolve"] - + set enabled_action_id [db_string get_enabled_action_id ""] + bug_tracker::bug::edit \ -bug_id $bug_id \ - -action_id $action_id \ + -enabled_action_id $enabled_action_id \ -description $resolve_description \ -desc_format "text/html" \ -array bug_row Index: openacs-4/packages/bug-tracker/www/patch.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/www/patch.xql,v diff -u -r1.1 -r1.1.6.1 --- openacs-4/packages/bug-tracker/www/patch.xql 5 Mar 2003 17:41:04 -0000 1.1 +++ openacs-4/packages/bug-tracker/www/patch.xql 11 Jan 2005 18:42:13 -0000 1.1.6.1 @@ -56,4 +56,11 @@ + + + select enabled_action_id from workflow_case_enabled_actions + where action_id=:action_id and case_id=:case_id + + +