diff options
author | lpsolit%gmail.com <> | 2007-07-13 18:10:39 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-07-13 18:10:39 +0000 |
commit | ff222adc4a6cb0349f7642d61bb63d2ff970607c (patch) | |
tree | ba87c96d90582e7740991bc2c65dba56c92ee76c /process_bug.cgi | |
parent | Bug 385849: Make Bugzilla::Bug do updating for op_sys, rep_platform, and othe... (diff) | |
download | bugzilla-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 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index 6abbbb401..0faae9e7c 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -496,8 +496,9 @@ if ($action eq Bugzilla->params->{'move-button-text'}) { local $Storable::forgive_me = 1; my $bugs = dclone(\@bug_objects); foreach my $bug (@bug_objects) { - $bug->set_status('RESOLVED'); - $bug->set_resolution('MOVED'); + my ($status, $resolution) = $bug->get_new_status_and_resolution('move'); + $bug->set_status($status); + $bug->set_resolution($resolution); } $_->update() foreach @bug_objects; $dbh->bz_unlock_tables(); |