Closed
Bug 1100563
Opened 11 years ago
Closed 11 years ago
The value for 'val' is not cleared properly when leaving the 'input' BLOCK in edit.html.tmpl
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: dkl, Assigned: dkl)
Details
(Keywords: regression)
I noticed this in latest trunk that the bug_file_loc and status_whiteboard had a value of ARRAY(...) in it even when no value for those fields is stored in the database. In the end of the 'input' block, which both bug_file_loc and status_whiteboard use, the variable 'value' is being undefined but not 'val' which is the proper variable name. If I change that line, then I no longer see the ARRAY(...) values and I can set/unset the fields properly.
Patch coming.
dkl
| Assignee | ||
Comment 1•11 years ago
|
||
Hmm. Not sure what it is since I earlier missed the line:
[% val = value ? value : bug.$inputname %]
Will investigate further.
dkl
| Assignee | ||
Comment 2•11 years ago
|
||
Something with my environment. Closing.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
(In reply to David Lawrence [:dkl] from comment #2)
> Something with my environment. Closing.
The same thing is happening on my environment as well.
You need to log in
before you can comment on or make changes to this bug.
Description
•