From ff222adc4a6cb0349f7642d61bb63d2ff970607c Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 13 Jul 2007 18:10:39 +0000 Subject: =?UTF-8?q?Bug=20385415:=20Bugs=20marked=20as=20duplicate=20or=20m?= =?UTF-8?q?oved=20to=20another=20installation=20always=20go=20to=20the=20R?= =?UTF-8?q?ESOLVED=20state,=20even=20if=20the=20workflow=20has=20RESOLVED?= =?UTF-8?q?=20excluded=20from=20it=20(or=20if=20this=20bug=20status=20has?= =?UTF-8?q?=20been=20removed=20or=20renamed).=20Some=20major=20problems=20?= =?UTF-8?q?related=20to=20the=20workflow=20when=20upgrading=20or=20install?= =?UTF-8?q?ing=203.1=20are=20also=20fixed=20here=20-=20Patch=20by=20Fr?= =?UTF-8?q?=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r?= =?UTF-8?q?/a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editparams.cgi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editparams.cgi') 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) { -- cgit v1.2.1