Closed
Bug 624414
Opened 14 years ago
Closed 13 years ago
The "Possible duplicates" table in enter_bug.cgi no longer works (BUGZILLA.value_descs is undefined)
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.2
People
(Reporter: LpSolit, Assigned: mkanat)
References
Details
(Keywords: regression)
Attachments
(1 file)
3.44 KB,
patch
|
glob
:
review+
|
Details | Diff | Splinter Review |
As bug 595410 moved value_descs inside [% IF in_template_var %] [% END %], the display_value() function in js/global.js can no longer access it, meaning that BUGZILLA.value_descs set in global/header.html.tmpl is now undefined, and the "Possible duplicates" table in enter_bug.cgi no longer works. Error : BUGZILLA.value_descs[field] is undefined Source File : https://localhost/bugzilla/js/global.js Line : 126
Assignee | ||
Comment 1•13 years ago
|
||
This fixes the problem, which was (a) that value-descs.js.tmpl couldn't get at the "value_descs" hash anymore and (b) my patch that put value_descs into the "in_template_var" patch had a bug that prevented value_descs from actually getting into "vars".
Assignee: create-and-change → mkanat
Status: NEW → ASSIGNED
Attachment #516199 -
Flags: review?(glob)
Assignee | ||
Comment 2•13 years ago
|
||
BTW, this is a "blocker" for 4.1.1.
Comment on attachment 516199 [details] [diff] [review] v1 r=glob
Attachment #516199 -
Flags: review?(glob) → review+
Assignee | ||
Updated•13 years ago
|
Flags: approval+
Assignee | ||
Comment 4•13 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified template/en/default/global/field-descs.none.tmpl modified template/en/default/global/header.html.tmpl modified template/en/default/global/value-descs.js.tmpl added template/en/default/global/value-descs.none.tmpl Committed revision 7733.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•13 years ago
|
||
Note that there is no need to CC me on a bug I filed. I'm already watching it. ;)
You need to log in
before you can comment on or make changes to this bug.
Description
•