Commit d5a67a2b authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 443519: Changing Products with Strict Isolation fails when the CC list…

Bug 443519: Changing Products with Strict Isolation fails when the CC list changes at the same time - Patch by Alex Eiser <aeiser@arc.nasa.gov> r/a=LpSolit
parent a3356178
......@@ -1422,7 +1422,8 @@ sub _check_strict_isolation {
my @old_cc = map { $_->id } @{$original->cc_users};
my @new_cc = map { $_->id } @{$invocant->cc_users};
my ($removed, $added) = diff_arrays(\@old_cc, \@new_cc);
$ccs = $added;
$ccs = Bugzilla::User->new_from_list($added);
$assignee = $invocant->assigned_to
if $invocant->assigned_to->id != $original->assigned_to->id;
if ($invocant->qa_contact
......@@ -1431,7 +1432,7 @@ sub _check_strict_isolation {
{
$qa_contact = $invocant->qa_contact;
}
$product = $invocant->product;
$product = $invocant->product_obj;
}
my @related_users = @$ccs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment