Closed
Bug 545695
Opened 14 years ago
Closed 14 years ago
show_bug.cgi: Use of uninitialized value
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.4
People
(Reporter: k0u4dz202, Assigned: reed)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
352 bytes,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7 Build Identifier: 3.4.4 Sometimes this is printed to the error log: show_bug.cgi: Use of uninitialized value in numeric eq (==) at Bugzilla/User.pm line 712 Looks like $warn isn't always passed in when called from edit.html.tmpl, so this line in User.pm causes the error message: return 0 unless $warn == THROW_ERROR; Reproducible: Always
Assignee | ||
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 2•14 years ago
|
||
Actually, this isn't a dupe. It seems this bug only affects Bugzilla 3.4. template/en/default/bug/edit.html.tmpl:377: [% IF NOT user.can_enter_product(bug.product) %]
Assignee: query-and-buglist → create-and-change
Status: RESOLVED → UNCONFIRMED
Component: Query/Bug List → Creating/Changing Bugs
OS: Linux → All
Hardware: x86 → All
Resolution: DUPLICATE → ---
Comment 3•14 years ago
|
||
This is the same issue. The problem reported here was due to bug 322848, which landed in Bugzilla 3.0. You don't see this bug in 3.5.3 because I fixed it in bug 526271. I simply decided to not backport it to 3.4.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 4•14 years ago
|
||
Something like this? Not sure if we actually want to throw an error, but it seems like we would...
Assignee: create-and-change → reed
Attachment #426539 -
Flags: review?(LpSolit)
Updated•14 years ago
|
Attachment #426539 -
Flags: review?(LpSolit) → review-
Comment 5•14 years ago
|
||
Comment on attachment 426539 [details] [diff] [review] patch - v1 (untested) No, see my previous comment.
Assignee | ||
Comment 6•14 years ago
|
||
Did you read comment #2? This only affects 3.4. Bug 526271 "fixes" this problem, but it's not for the same reason at all.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Target Milestone: --- → Bugzilla 3.4
Assignee | ||
Updated•14 years ago
|
Assignee | ||
Comment 7•14 years ago
|
||
Just fix Bugzilla/User.pm.
Attachment #426539 -
Attachment is obsolete: true
Attachment #426543 -
Flags: review?(LpSolit)
Assignee | ||
Updated•14 years ago
|
Status: NEW → ASSIGNED
Updated•14 years ago
|
Attachment #426543 -
Flags: review?(LpSolit) → review+
Updated•14 years ago
|
Flags: approval3.4+
Version: unspecified → 3.4.4
Assignee | ||
Comment 8•14 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/3.4/ modified Bugzilla/User.pm Committed revision 6724.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•