зеркало из https://github.com/mozilla/pjs.git
Bug 410182: Bugzilla crashes when moving a bug into another product when no QA contact is defined and strict_isolation is enabled - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r/a=mkanat
This commit is contained in:
Родитель
8399d52cfa
Коммит
95551b2a7c
|
@ -1234,8 +1234,12 @@ sub _check_strict_isolation {
|
|||
$ccs = $added;
|
||||
$assignee = $invocant->assigned_to
|
||||
if $invocant->assigned_to->id != $original->assigned_to->id;
|
||||
$qa_contact = $invocant->qa_contact
|
||||
if $invocant->qa_contact->id != $original->qa_contact->id;
|
||||
if ($invocant->qa_contact
|
||||
&& (!$original->qa_contact
|
||||
|| $invocant->qa_contact->id != $original->qa_contact->id))
|
||||
{
|
||||
$qa_contact = $invocant->qa_contact;
|
||||
}
|
||||
$product = $invocant->product;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче