Closed Bug 829939 Opened 11 years ago Closed 11 years ago

Only build default_authorizer on request

Categories

(Bugzilla :: Bugzilla-General, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 4.2

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached patch patch, v1Splinter Review
In Bugzilla::Template->create, the default_authorizer variable is built all the time despite it's only used when editing a user profile in editusers.cgi. This variable must be built on request only.

This problem has been introduced in bug 423612, affecting 4.2 and above.
Attachment #701459 - Flags: review?(glob)
Comment on attachment 701459 [details] [diff] [review]
patch, v1

r=glob
Attachment #701459 - Flags: review?(glob) → review+
Flags: approval4.4+
Flags: approval4.2+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Template.pm
Committed revision 8554.

Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.4/
modified Bugzilla/Template.pm
Committed revision 8502.

Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.2/
modified Bugzilla/Template.pm
Committed revision 8184.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: