Closed Bug 136751 Opened 23 years ago Closed 23 years ago

warning in show_bug.cgi

Categories

(Bugzilla :: Query/Bug List, defect, P2)

2.15
x86
Windows 2000
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: cedric.caron, Assigned: bbaetz)

References

Details

Attachments

(1 file)

On my test system I receive the folowing warning in show_bug.cgi Argument "" isn't numeric in numeric gt (>) at (eval 42) line 9 (#1) (W numeric) The indicated string was fed as an argument to an operator that expected a numeric value instead. If you're fortunate the message will identify which operator was so unfortunate. [Thu Apr 11 01:25:39 2002] C:\DL\Devlopment\BugZilla\current\mozilla\webtools\bugzilla\show_bug.cgi: Argument "" isn't numeric in numeric gt (>) at (eval 42) line 9. [Thu Apr 11 01:25:39 2002] C:\DL\Devlopment\BugZilla\current\mozilla\webtools\bugzilla\show_bug.cgi: Argument "" isn't numeric in numeric gt (>) at (eval 42) line 9.
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.16
There are two warnings - the first only happnes if your COLUMNLIST cookie is empty, and the second only happens if you are not in any groups. The fix for both is to push the variable to the template even if we know that it would be empty. Taking.
Assignee: endico → bbaetz
Keywords: patch, review
Attached patch v1Splinter Review
Note that I found the line no for the problem in the template by using compiled templates, and looking at the generated output.
Comment on attachment 79119 [details] [diff] [review] v1 r= justdave x2
Attachment #79119 - Flags: review+
Checked in: Checking in bug_form.pl; /cvsroot/mozilla/webtools/bugzilla/bug_form.pl,v <-- bug_form.pl new revision: 1.90; previous revision: 1.89 done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: