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)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: LpSolit, Assigned: LpSolit)
Details
Attachments
(1 file)
|
868 bytes,
patch
|
gregaryh
:
review+
myk
:
review+
|
Details | Diff | Splinter Review |
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)
Updated•19 years ago
|
Attachment #251220 -
Flags: review?(myk) → review+
Comment 1•19 years ago
|
||
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+
| Assignee | ||
Updated•19 years ago
|
Flags: approval2.22+
Flags: approval+
| Assignee | ||
Comment 2•19 years ago
|
||
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.
Description
•