From ff222adc4a6cb0349f7642d61bb63d2ff970607c Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 13 Jul 2007 18:10:39 +0000 Subject: Bug 385415: Bugs marked as duplicate or moved to another installation always go to the RESOLVED state, even if the workflow has RESOLVED excluded from it (or if this bug status has been removed or renamed). Some major problems related to the workflow when upgrading or installing 3.1 are also fixed here - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/admin/params/bugchange.html.tmpl | 3 +++ template/en/default/admin/workflow/edit.html.tmpl | 19 ++++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) (limited to 'template/en/default/admin') diff --git a/template/en/default/admin/params/bugchange.html.tmpl b/template/en/default/admin/params/bugchange.html.tmpl index 022e0cac1..0b2f42c6d 100644 --- a/template/en/default/admin/params/bugchange.html.tmpl +++ b/template/en/default/admin/params/bugchange.html.tmpl @@ -25,6 +25,9 @@ %] [% param_descs = { + duplicate_or_move_bug_status => "When $terms.abug is marked as a duplicate of another one " _ + "or is moved to another installation, use this $terms.bug status." + letsubmitterchoosepriority => "If this is on, then people submitting $terms.bugs can " _ "choose an initial priority for that ${terms.bug}. " _ "If off, then all $terms.bugs initially have the default " _ diff --git a/template/en/default/admin/workflow/edit.html.tmpl b/template/en/default/admin/workflow/edit.html.tmpl index d602171a1..68e16a022 100644 --- a/template/en/default/admin/workflow/edit.html.tmpl +++ b/template/en/default/admin/workflow/edit.html.tmpl @@ -69,12 +69,14 @@ [% FOREACH new_status = statuses %] [% IF status.id != new_status.id %] - + [%+ "checked='checked'" IF checked || mandatory %] + [%+ "disabled='disabled'" IF mandatory %]> [% ELSE %]   @@ -84,6 +86,17 @@ [% END %] +

+ When [% terms.abug %] is marked as a duplicate of another one or is moved + to another installation, the [% terms.bug %] status is automatically set to + [% Param("duplicate_or_move_bug_status") FILTER html %]. All transitions to + this [% terms.bug %] status must then be valid (this is the reason why you cannot edit + them above).
+ Note: you can change this setting by visiting the + Parameters + page and editing the duplicate_or_move_bug_status parameter. +

+

-- cgit v1.2.3-24-g4f1b