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:
@@ -1 +1 @@
|
||||
8404
|
||||
8405
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user