Closed Bug 713325 Opened 13 years ago Closed 12 years ago

[mod_perl] Variable "$format" will not stay shared at request.cgi line 330

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: reed, Assigned: glob)

Details

Attachments

(1 file)

<dumitru> # /etc/init.d/httpd start
<dumitru> Starting httpd: WARNING: HOME is not set, using root: /
<dumitru> Variable "$format" will not stay shared at /data/www/bugzilla.mozilla.org/request.cgi line 330.
Attached patch patch - v1Splinter Review
Attachment #584156 - Flags: review?(glob)
Comment on attachment 584156 [details] [diff] [review]
patch - v1

I would rather not have duplicate code if we can avoid it. I would suggest passing it in to the sub instead such as queue($format) or fix the closures properly.

Gerv, this is related to a recent change you made related to the CSV output of request.cgi. Can you take a look at reeds patch as well?
Attachment #584156 - Flags: review?(glob) → review-
gerv has already updated his patch to address this issue.  see bug 413851 comment 14.

as it's only a warning, and only displayed when apache is restarted, we may as well wait until the upstream patch has approval there, and bring across the fix for this issue to bmo at that point.
Status: ASSIGNED → NEW
Depends on: 413851
upstream appears to be stalled; i've taken just the fix for this warning from gerv's patch and committed it.

Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.0/
modified request.cgi
Committed revision 8055.
Assignee: reed → glob
Status: NEW → RESOLVED
Closed: 12 years ago
No longer depends on: 413851
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: