Closed
Bug 199813
Opened 22 years ago
Closed 22 years ago
Make all users of ThrowUserError pass $vars in explictly
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: bbaetz, Assigned: bbaetz)
References
Details
Attachments
(1 file)
(deleted),
patch
|
gerv
:
review+
|
Details | Diff | Splinter Review |
As part of removing the global $vars hash, the various Throw*Error functions
need to get passed their $vars explcitly, rather than just picking up the global
stuff.
(Only header_done is excemt from this, for the moment - its a bigger issue to fix)
Patch coming after I finish testing it.
Also fixes bug 181553 (whcih I noted separately)
Assignee | ||
Comment 1•22 years ago
|
||
Also, I've fixed an incorrect Throw from userprefs.cgi (where we thrw the var
name, instead of the template name, and replaced a variables.sortkey with jus
sortkey (variables in only in ThrowCodeError, and not for long...) Also fixed an
issue in attachment.cgi where we needed to give the bug # in teh error message,
but used the attachment number'd error template.
Summary: Make all users of ThrowUserError pass $vars in explicilty → Make all users of ThrowUserError pass $vars in explictly
Assignee | ||
Comment 2•22 years ago
|
||
OK, this also removes the example bit from the default templte, and rempves the
backwards compat code for using the error tag as the actual message - that all
got removed a while back.
Assignee | ||
Updated•22 years ago
|
Attachment #118879 -
Flags: review?(gerv)
Comment 3•22 years ago
|
||
Comment on attachment 118879 [details] [diff] [review]
patch
r=gerv. Looks fine to me.
Gerv
Attachment #118879 -
Flags: review?(gerv) → review+
Assignee | ||
Updated•22 years ago
|
Flags: approval?
Updated•22 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 4•22 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
Assignee | ||
Updated•21 years ago
|
Blocks: bz-globals
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•