Closed Bug 1812384 Opened 1 year ago Closed 1 year ago

Error occurring when $revision->uplift_request in Phabbugz is being interpreted as true when it is really empty

Categories

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

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Sentry Error:
https://sentry.io/organizations/mozilla/issues/3785395675/events/4dce67b2061c495baa0bb1421c31064a/?project=6250024

[Bugzilla.Extension.PhabBugz.Feed] Not a HASH reference at /app/extensions/PhabBugz/lib/Feed.pm line 383.

PHP returns an empty dictionary as an array and the JSON that is received by PhabBugz shows {"uplift_request":[]} but then the uplift_request is populated, the JSON received has an object (hash in Perl speak) so they need to be treated differently.

Also fixing the qe-verify multiple flag issue with this patch.

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: