Bug 663208: Recursive "Verify new product details" page when attempting to move multiple bugs to another product

r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@262379 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2011-06-11 01:37:04 +00:00
parent 769b3a4b74
commit bca8dd878e
2 changed files with 8 additions and 2 deletions

View File

@@ -2140,7 +2140,13 @@ sub _set_global_validator {
# other_bugs to set_all in order for it to behave properly.
sub set_all {
my $self = shift;
my ($params) = @_;
my ($input_params) = @_;
# Clone the data as we are going to alter it, and this would affect
# subsequent bugs when calling set_all() again, as some fields would
# be modified or no longer defined.
my $params = {};
%$params = %$input_params;
# You cannot mark bugs as duplicate when changing several bugs at once
# (because currently there is no way to check for duplicate loops in that