Bug 757935: Bugs with resolution MOVED cannot be edited

r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264289 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2012-10-03 17:46:25 +00:00
parent 805b83e85f
commit 8753f2866e
2 changed files with 4 additions and 2 deletions

View File

@@ -1 +1 @@
8404
8405

View File

@@ -118,7 +118,9 @@ sub _check_bug_resolution {
my $original_validator = shift;
my ($invocant, $resolution) = @_;
if ($resolution eq 'MOVED' and !Bugzilla->input_params->{'oldbugmove'}) {
if ($resolution eq 'MOVED' && $invocant->resolution ne 'MOVED'
&& !Bugzilla->input_params->{'oldbugmove'})
{
# MOVED has a special meaning and can only be used when
# really moving bugs to another installation.
ThrowUserError('oldbugmove_no_manual_move');