]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 443519: Changing Products with Strict Isolation fails when the CC list changes...
authorlpsolit%gmail.com <>
Mon, 7 Jul 2008 05:19:35 +0000 (05:19 +0000)
committerlpsolit%gmail.com <>
Mon, 7 Jul 2008 05:19:35 +0000 (05:19 +0000)
Bugzilla/Bug.pm

index d0eb69452ad46f0ea4ac9fb9b9bf527e7264df98..b8f765d1eaa073facb97356a5e39eb1c09b84a13 100644 (file)
@@ -1398,7 +1398,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
@@ -1407,7 +1408,7 @@ sub _check_strict_isolation {
         {
             $qa_contact = $invocant->qa_contact;
         }
-        $product = $invocant->product;
+        $product = $invocant->product_obj;
     }
 
     my @related_users = @$ccs;