From: Frédéric Buclin Date: Wed, 3 Oct 2012 17:37:30 +0000 (+0200) Subject: Bug 757935: Bugs with resolution MOVED cannot be edited X-Git-Tag: bugzilla-4.4rc1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=642112109708a7bf5d4560e4885d20319dba5730;p=thirdparty%2Fbugzilla.git Bug 757935: Bugs with resolution MOVED cannot be edited r=glob a=LpSolit --- diff --git a/extensions/OldBugMove/Extension.pm b/extensions/OldBugMove/Extension.pm index c1fa50a654..9a499d5d04 100644 --- a/extensions/OldBugMove/Extension.pm +++ b/extensions/OldBugMove/Extension.pm @@ -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');