Open Bug 1478889 Opened 7 years ago Updated 1 year ago

PhabBugz::User class doesn't handle the condition of a bugzilla user id being invalid.

Categories

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

Production
defect

Tracking

()

People

(Reporter: dylan, Unassigned, NeedInfo)

Details

(Keywords: conduit-triaged)

SSIA
When looking up a user in Phabricator based on a user's bugzilla id or when Phabricator returns an invalid bugzilla user id and we try to convert it to a Bugzilla::User object?
Flags: needinfo?(dylan)

Not sure I understand the question here. At the moment this isn't a problem so we can back-burner it

Assignee: dylan → nobody
Flags: needinfo?(dylan)
Priority: -- → P3

The original question I think was what to do in the case that we encounter a changed made by a Phab user that does not
map to a user in Bugzilla and Bugzilla throws an exception. This problem causes the entire feed queue to stall. What would
be a better solution? Do we plug in a bogus BMO user in it's place (nobody@mozilla.org)?. Do we automatically create a user
in BMO for the Phab user? Or do we continue to just let it fail and when we get notified from DataDog we change the data in
Phabricator to use a real mapped account instead?

Flags: needinfo?(dylan)

Ah I see! That's a good point.

Generating a new bmo account seems like the most audit-able situation and so that's what I vote for.

Flags: needinfo?(dylan)
Type: enhancement → defect
You need to log in before you can comment on or make changes to this bug.