Closed
Bug 282621
Opened 20 years ago
Closed 20 years ago
error message in the apache log file when creating a new attachment
Categories
(Bugzilla :: Attachments & Requests, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
Attachments
(1 file)
|
835 bytes,
patch
|
myk
:
review+
|
Details | Diff | Splinter Review |
When creating a new attachment, the following error message appears in the
apache log file:
attachment.cgi: Argument "" isn't numeric in numeric gt (>) at (eval 27) line 244.
This is because $vars->{'flag_types'}->{'flags'} is undefined (it is only
defined when editing existing attachments) and the following test in
flag/list.html.tmpl generates this error:
[% NEXT UNLESS type.flags.size > 0 && type.is_multiplicable && type.is_active %]
type.flags.size is undefined ("").| Assignee | ||
Comment 1•20 years ago
|
||
Test first if $vars->{'flag_types'}->{'flags'} exists.
Attachment #174609 -
Flags: review?(myk)
Comment 2•20 years ago
|
||
Comment on attachment 174609 [details] [diff] [review] simple patch, v1 r=myk
Attachment #174609 -
Flags: review?(myk) → review+
Updated•20 years ago
|
Flags: approval+
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.20
Comment 3•20 years ago
|
||
Checking in template/en/default/flag/list.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/flag/list.html.tmpl,v <- - list.html.tmpl new revision: 1.17; previous revision: 1.16 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•