Closed Bug 415663 Opened 17 years ago Closed 17 years ago

Flag->snapshot() calls Flag->match() with attach_id being undefined when editing bug flags

Categories

(Bugzilla :: Attachments & Requests, defect)

3.1.3
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached patch patch, v1Splinter Review
When editing bug flags, attach_id is undefined when match() is called by snapshot(), making errors to be thrown by Object->match(): process_bug.cgi: Use of uninitialized value in string eq at Bugzilla/Object.pm line 183. We should set attach_id to IS_NULL instead. This is a regression due to bug 413772. r+'ing myself as module owner.
Attachment #301385 - Flags: review+
Flags: approval+
Checking in Bugzilla/Flag.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Flag.pm,v <-- Flag.pm new revision: 1.92; previous revision: 1.91 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Summary: Flag->snapshot() calls Flag->match() with attach_id being undefined → Flag->snapshot() calls Flag->match() with attach_id being undefined when editing bug flags
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: