Index: openacs-4/packages/bug-tracker/tcl/bug-tracker-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/tcl/bug-tracker-procs.tcl,v diff -u -r1.47 -r1.48 --- openacs-4/packages/bug-tracker/tcl/bug-tracker-procs.tcl 24 Jun 2015 10:45:16 -0000 1.47 +++ openacs-4/packages/bug-tracker/tcl/bug-tracker-procs.tcl 26 Jun 2015 20:25:13 -0000 1.48 @@ -125,6 +125,7 @@ f_fix_for_version:integer,optional f_component:integer,optional orderby:token,optional + project_id:naturalnum,optional {format:word "table"} } foreach { parent_id parent_heading } [bug_tracker::category_types] { Index: openacs-4/packages/bug-tracker/www/bug.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/www/bug.tcl,v diff -u -r1.43 -r1.44 --- openacs-4/packages/bug-tracker/www/bug.tcl 24 Jun 2015 10:28:59 -0000 1.43 +++ openacs-4/packages/bug-tracker/www/bug.tcl 26 Jun 2015 20:25:13 -0000 1.44 @@ -29,7 +29,7 @@ set bug_name [bug_tracker::conn Bug] set page_title [_ bug-tracker.Bug_Title] -set context [list [ad_quotehtml $page_title]] +set context [list [ns_quotehtml $page_title]] # Is this project using multiple versions? set versions_p [bug_tracker::versions_p] @@ -259,6 +259,12 @@ set row($category_id) [element get_value bug $category_id] } } + + if { $enabled_action_id eq ""} { + ns_log notice "====== reissleine ==== " + ad_complain "edit requires enabled_action_id, but no value was provided" + ad_script_abort + } set description [element get_value bug description] @@ -399,9 +405,9 @@ [list \ [export_vars -base . [bug_tracker::get_export_variables]] \ [_ bug-tracker.Filtered]] \ - [ad_quotehtml $page_title]] + [ns_quotehtml $page_title]] } else { - set context [list [ad_quotehtml $page_title]] + set context [list [ns_quotehtml $page_title]] } # User agent show/hide URLs 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.21 -r1.22 --- openacs-4/packages/bug-tracker/www/patch.tcl 24 Jun 2015 18:46:38 -0000 1.21 +++ openacs-4/packages/bug-tracker/www/patch.tcl 26 Jun 2015 20:25:13 -0000 1.22 @@ -211,25 +211,25 @@ switch -- $mode { edit - comment - accept - refuse - reopen - delete { element create patch description \ - -datatype text \ - -widget comment \ - -label "[_ bug-tracker.Description]" \ - -html { cols 60 rows 13 } \ - -optional + -datatype text \ + -widget comment \ + -label "[_ bug-tracker.Description]" \ + -html { cols 60 rows 13 } \ + -optional element create patch desc_format \ - -datatype text \ - -widget select \ - -label "[_ bug-tracker.Description_1]" \ + -datatype text \ + -widget select \ + -label "[_ bug-tracker.Description_1]" \ -options { { "[_ bug-tracker.Plain]" plain } { "[_ bug-tracker.HTML]" html } { "[_ bug-tracker.Preformatted]" pre } } } default { # View mode element create patch description \ - -datatype text \ - -widget inform \ - -label "[_ bug-tracker.Description]" + -datatype text \ + -widget inform \ + -label "[_ bug-tracker.Description]" } }