aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-07-13 18:10:39 +0000
committerlpsolit%gmail.com <>2007-07-13 18:10:39 +0000
commitff222adc4a6cb0349f7642d61bb63d2ff970607c (patch)
treeba87c96d90582e7740991bc2c65dba56c92ee76c /editparams.cgi
parentBug 385849: Make Bugzilla::Bug do updating for op_sys, rep_platform, and othe... (diff)
downloadbugzilla-ff222adc4a6cb0349f7642d61bb63d2ff970607c.tar.gz
bugzilla-ff222adc4a6cb0349f7642d61bb63d2ff970607c.tar.bz2
bugzilla-ff222adc4a6cb0349f7642d61bb63d2ff970607c.zip
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 <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'editparams.cgi')
-rwxr-xr-xeditparams.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/editparams.cgi b/editparams.cgi
index 7d280474b..38d486656 100755
--- a/editparams.cgi
+++ b/editparams.cgi
@@ -34,6 +34,7 @@ use Bugzilla::Error;
use Bugzilla::Token;
use Bugzilla::User;
use Bugzilla::User::Setting;
+use Bugzilla::Status;
my $user = Bugzilla->login(LOGIN_REQUIRED);
my $cgi = Bugzilla->cgi;
@@ -137,6 +138,9 @@ if ($action eq 'save' && $current_module) {
if ($name eq 'languages') {
$update_lang_user_pref = 1;
}
+ if ($name eq 'duplicate_or_move_bug_status') {
+ Bugzilla::Status::add_missing_bug_status_transitions($value);
+ }
}
}
if ($update_lang_user_pref) {