Only build default_authorizer on request

RESOLVED FIXED in Bugzilla 4.2

Status

()

--
trivial
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: LpSolit, Assigned: LpSolit)

Tracking

({regression})

Bugzilla 4.2
regression
Bug Flags:
approval +
approval4.4 +
approval4.2 +

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 701459 [details] [diff] [review]
patch, v1

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+
(Assignee)

Updated

6 years ago
Flags: approval4.4+
Flags: approval4.2+
Flags: approval+
(Assignee)

Comment 2

6 years ago
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
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.