Closed Bug 1820042 Opened 1 year ago Closed 1 year ago

Calling bug->update twice on the same bug object is generally a bad idea so we load a second copy during the uplift process

Categories

(bugzilla.mozilla.org :: Phabricator Integration, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

When PhabBugz performs changes for an uplift request in Phabricator, it loads the related bug and adds a new formatted comment. If needed it also adds a qe-verify flag. Currently the code calls $bug->update twice which is failing cause it is trying to perform some changes more than once and so we cannot do that.

I am going to create a patch that loads a fresh copy of the bug if a qe-verify flag is needed and then do the second update to that.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: