Closed
Bug 343112
Opened 19 years ago
Closed 19 years ago
@Bugzilla::Config::parampanels is only defined if something calls _load_params
Categories
(Bugzilla :: Administration, task)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: mkanat, Assigned: mkanat)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
|
3.12 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
In bug 342869 LpSolit noticed that @parampanels isn't defined if nothing calls _load_params.
So, instead, we should just have a subroutine in Bugzilla::Config that returns @parampanels. (Which is better anyway, because then we get rid of that package-global variable.)
| Assignee | ||
Comment 1•19 years ago
|
||
Okay, this is a nice clean fix for the problem. We replace @parampanels with a subroutine called param_panels, which works nicely. This will slightly bitrot my patch in bug 342869, but that's okay--the bitrot will be easy to fix.
Attachment #227542 -
Flags: review?(LpSolit)
| Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Comment 2•19 years ago
|
||
Comment on attachment 227542 [details] [diff] [review]
v1
Looks good except your patch is bitrotten due to the checkin of bug 342121. So I couldn't test it.
Attachment #227542 -
Flags: review?(LpSolit) → review-
| Assignee | ||
Comment 3•19 years ago
|
||
Ah, okay! I fixed the bitrot. :-)
Attachment #227542 -
Attachment is obsolete: true
Attachment #227714 -
Flags: review?(LpSolit)
| Assignee | ||
Comment 4•19 years ago
|
||
I noticed that I'd added Bugzilla::Constants in twice to Bugzilla::Config.
Attachment #227714 -
Attachment is obsolete: true
Attachment #227822 -
Flags: review?(LpSolit)
Attachment #227714 -
Flags: review?(LpSolit)
Comment 5•19 years ago
|
||
Comment on attachment 227822 [details] [diff] [review]
v1.2
works fine. r=LpSolit
Attachment #227822 -
Flags: review?(LpSolit) → review+
Updated•19 years ago
|
Flags: approval?
Updated•19 years ago
|
Flags: approval? → approval+
| Assignee | ||
Comment 6•19 years ago
|
||
Checking in editparams.cgi;
/cvsroot/mozilla/webtools/bugzilla/editparams.cgi,v <-- editparams.cgi
new revision: 1.37; previous revision: 1.36
done
Checking in Bugzilla/Config.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Config.pm,v <-- Config.pm
new revision: 1.62; previous revision: 1.61
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•