Closed
Bug 226207
Opened 21 years ago
Closed 21 years ago
Internal Server Error while requesting an attachment flag
Categories
(Bugzilla :: Attachments & Requests, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: kiko, Assigned: kiko)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
587 bytes,
patch
|
myk
:
review+
|
Details | Diff | Splinter Review |
On CVS HEAD, requesting a flag raises an ISE 500. Problem seems to be a bare Param() in FlagType.pm, patch coming up. Question: does the following case in User.pm suffer from the same problem? http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/webtools/bugzilla/Bugzilla&command=DIFF_FRAMESET&file=User.pm&rev2=1.15&rev1=1.14
Assignee | ||
Comment 1•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #135917 -
Flags: review?(myk)
Updated•21 years ago
|
OS: Linux → All
Hardware: PC → All
Assignee | ||
Comment 2•21 years ago
|
||
Hixie explained the details on how namespaces and use work, and I guess the better fix is this one-liner. Should we clean up other uses of &::Param() ?
Assignee | ||
Updated•21 years ago
|
Attachment #135917 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #135917 -
Flags: review?(myk)
Assignee | ||
Updated•21 years ago
|
Attachment #135922 -
Flags: review?(myk)
Comment 3•21 years ago
|
||
I'm having difficulty reproducing the problem; can you give more specifics about when it occurs (i.e. requestable or non-requestable flag, attachment or bug, etc.).
Assignee | ||
Comment 4•21 years ago
|
||
It occured in landfill, on caillon's branch (for the xmlflags thing), for reference -- the log will say. It happens when requesting any attachment flag when a requestee is specified. I think requesting with no requestee works. Isn't the code obviously wrong, at any rate? We don't use Bugzilla::Config, so Param is never placed in our local namespace.
Status: NEW → ASSIGNED
Summary: Internal Server Error while requesting a flag → Internal Server Error while requesting an attachment flag
Comment 5•21 years ago
|
||
Comment on attachment 135922 [details] [diff] [review] kiko_v2: use Bugzilla::Config r=myk Yes, we should fix other instances of &::Param in that script now that it's no longer necessary.
Attachment #135922 -
Flags: review?(myk) → review+
Updated•21 years ago
|
Flags: approval+
Assignee | ||
Comment 6•21 years ago
|
||
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/FlagType.pm,v <-- FlagType.pm new revision: 1.5; previous revision: 1.4 Thanks.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Summary: Internal Server Error while requesting an attachment flag
Assignee | ||
Updated•21 years ago
|
Summary: Internal Server Error while requesting an attachment flag
Updated•21 years ago
|
Target Milestone: --- → Bugzilla 2.18
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
•