Closed Bug 366738 Opened 19 years ago Closed 19 years ago

Use of uninitialized value in numeric eq (==) in ./importxml.pl if the bug is not visible to the reporter and the CC list

Categories

(Bugzilla :: Bug Import/Export & Moving, defect)

2.22.1
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

Attachments

(1 file)

If a bug is restricted to a group and is not visible to the reporter and/or the CC list, importxml.pl throws the following warnings: Use of uninitialized value in numeric eq (==) at ./importxml.pl line 653, <> chunk 1. Use of uninitialized value in numeric eq (==) at ./importxml.pl line 656, <> chunk 1. That's because fields having 0 as value are not included in the XML file and so are undefined.
Attachment #251220 - Flags: review?(myk)
Attachment #251220 - Flags: review?(myk) → review+
Comment on attachment 251220 [details] [diff] [review] patch for tip and 2.22.2, v1 Looks good and is a better way of distinguishing between positive and negative values for this field. r=myk
Attachment #251220 - Flags: review+
Flags: approval2.22+
Flags: approval+
tip: Checking in importxml.pl; /cvsroot/mozilla/webtools/bugzilla/importxml.pl,v <-- importxml.pl new revision: 1.72; previous revision: 1.71 done 2.22.1: Checking in importxml.pl; /cvsroot/mozilla/webtools/bugzilla/importxml.pl,v <-- importxml.pl new revision: 1.47.2.7; previous revision: 1.47.2.6 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: