aboutsummaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-03 12:18:43 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-03 12:18:43 -0700
commit99ad6a4e8674133c5bb8367d291eb1986c3cee8a (patch)
treea8a0a96bcd9b21d6e0fdc96245f5f423f4c5833b /process_bug.cgi
parenta476a7bf0f7b9b07bd5c98708aeda2278564eb9e (diff)
downloadbugs-99ad6a4e8674133c5bb8367d291eb1986c3cee8a.tar
bugs-99ad6a4e8674133c5bb8367d291eb1986c3cee8a.tar.gz
bugs-99ad6a4e8674133c5bb8367d291eb1986c3cee8a.tar.bz2
bugs-99ad6a4e8674133c5bb8367d291eb1986c3cee8a.tar.xz
bugs-99ad6a4e8674133c5bb8367d291eb1986c3cee8a.zip
Bug 567846: Modify set_status, set_resolution, and set_dup_id to use
VALIDATOR_DEPENDENCIES, so that they don't need custom code in set_all.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index e71c7ef4d..bb4a9f653 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -262,7 +262,6 @@ my %field_translation = (
set_default_qa_contact => 'reset_qa_contact',
keywordaction => 'keywords_action',
confirm_product_change => 'product_change_confirmed',
- bug_status => 'status',
);
my %set_all_fields = ( other_bugs => \@bug_objects );
@@ -409,7 +408,7 @@ if ($move_action eq Bugzilla->params->{'move-button-text'}) {
my $new_status = Bugzilla->params->{'duplicate_or_move_bug_status'};
foreach my $bug (@bug_objects) {
- $bug->set_status($new_status, {resolution => 'MOVED', moving => 1});
+ $bug->set_bug_status($new_status, {resolution => 'MOVED', moving => 1});
}
$_->update() foreach @bug_objects;
$dbh->bz_commit_transaction();