Closed
Bug 96039
Opened 24 years ago
Closed 24 years ago
Use of uninitialized value warning in process_bug.cgi
Categories
(Bugzilla :: Administration, task, P2)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: remi.perrot, Assigned: justdave)
Details
Attachments
(1 file)
|
712 bytes,
patch
|
Details | Diff | Splinter Review |
A Debian user report this bug (#108731) on the Debian bugzilla package
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=108731&repeatmerged=yes).
| Reporter | ||
Comment 1•24 years ago
|
||
Updated•24 years ago
|
Severity: minor → normal
Priority: -- → P2
Target Milestone: --- → Bugzilla 2.16
Comment 2•24 years ago
|
||
Moving to new Bugzilla product ...
This is probably a duplicate of other reports, we'll need to clean up all the
uninitialised errors bug (there's currently 4).
Comment 3•24 years ago
|
||
I can't reproduce the error this patch claims to solve; and, if we do want to do
this, we should just do:
if ( $::COOKIE{'BUGLIST'} && $::FORM{'id'} ) {
which covers the undefined and the "" cases for both variables.
Gerv
| Assignee | ||
Comment 4•24 years ago
|
||
We are currently trying to wrap up Bugzilla 2.16. We are now close enough to
release time that anything that wasn't already ranked at P1 isn't going to make
the cut. Thus this is being retargetted at 2.18. If you strongly disagree with
this retargetting, please comment, however, be aware that we only have about 2
weeks left to review and test anything at this point, and we intend to devote
this time to the remaining bugs that were designated as release blockers.
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
Comment 5•24 years ago
|
||
The warning for $::COOKIE{'BUGLIST'} being uninitialized is reproducable when
you have no cookies for the bugzilla server, directly open an issue (e.g click
on the link in an email from bugzilla), and make a change to the issue. The
page you get back after logging in has the warning at the top of the page,
prior to the Content-Type: text/html header causing the context to be displayed
as text/plain.
Detailed steps:
Clear cookies for the bugzilla server (don't visit the site for a while, delete
the cookie file if you're using IE, etc)
Look at an issue w/o searching, e.g. navigate to
http://bugzilla.mozilla.org/show_bug.cgi?id=96039
Enter any update to the issue
Press the submit button
Login screen is displayed
Enter login and password
Press Login
Error is displayed at the top of the page returned
Comment 6•24 years ago
|
||
Checking against the current codebase, I can't reproduce this and there is a fix
like Gerv's comment 3 in the code.
Marking WORKSFORME.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
| Assignee | ||
Comment 7•24 years ago
|
||
clearing target in DUPLICATE/WORKSFORME/INVALID/WONTFIX bugs so they'll show up
as untriaged if they get reopened.
Target Milestone: Bugzilla 2.18 → ---
Updated•13 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
•