summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-07-07 07:17:46 +0200
committerlpsolit%gmail.com <>2008-07-07 07:17:46 +0200
commitd5a67a2bbeebff59e9d0d995b9932fd90a74366f (patch)
tree1ca834a53df2784f665a61ff1620a0e69df88a33 /Bugzilla/Bug.pm
parenta3356178011e62512acdf04ad07dca5505942644 (diff)
downloadbugzilla-d5a67a2bbeebff59e9d0d995b9932fd90a74366f.tar.gz
bugzilla-d5a67a2bbeebff59e9d0d995b9932fd90a74366f.tar.xz
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
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r--Bugzilla/Bug.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index e2620203e..b4636f9bd 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -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;