Closed
Bug 571817
Opened 15 years ago
Closed 15 years ago
Invalid parameter passed to Bugzilla when Editing Groups on IIS
Categories
(Bugzilla :: Administration, task)
Tracking
()
RESOLVED
DUPLICATE
of bug 521416
People
(Reporter: Steve_P, Unassigned)
Details
Attachments
(1 file, 2 obsolete files)
436 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
Build Identifier: 3.6
Invalid parameter passed to Bugzilla::Group::new_from_list: It must be numeric.
WIn 2k + IIS
Reproducible: Always
Steps to Reproduce:
1.create a group
2.goto edit the group
3.update
Actual Results:
Invalid parameter passed to Bugzilla::Group::new_from_list: It must be numeric.
Attachment #450984 -
Flags: review?(LpSolit)
Comment 2•15 years ago
|
||
Comment on attachment 450984 [details] [diff] [review]
Small edit to fix the error when updating Groups
The code that I'm looking at already has this fix, in 3.6. Perhaps this bug is a dup?
Attachment #450984 -
Flags: review?(LpSolit) → review-
Comment 3•15 years ago
|
||
Yeah, this code is not the one from 3.6, see bug 354627. This has been fixed in 3.2 already.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
?? I'm using 3.6
http://www.bugzilla.org/download/#v36
The BUG is still valid. I just had the diff the wrong way around.
Do people not test these bugs?
Attachment #450984 -
Attachment is obsolete: true
Comment on attachment 451107 [details] [diff] [review]
Corrected Diff
A Fixed Diff
Attachment #451107 -
Flags: review?(mkanat)
Comment 7•15 years ago
|
||
Comment on attachment 451107 [details] [diff] [review]
Corrected Diff
This crashes Bugzilla when using Apache.
Attachment #451107 -
Attachment is patch: true
Attachment #451107 -
Flags: review?(mkanat) → review-
Comment 8•15 years ago
|
||
Okay, so there actually is some sort of bug--it seems to be a general problem with IIS passing us undef in situations where I don't understand why we get undef.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 9•15 years ago
|
||
Steve: Could you get me the output of this following command on the page that you POST'ed to?
use Data::Dumper; die Dumper(scalar Bugzilla->cgi->Vars);
Updated•15 years ago
|
Summary: Invalid parameter passed to Bugzilla when Editing Groups → Invalid parameter passed to Bugzilla when Editing Groups on IIS
Updated•15 years ago
|
Severity: major → normal
Hardware: x86 → All
Reporter | ||
Comment 10•15 years ago
|
||
On the chance new_from_list is passed a null element it should return a corrected array instead of raising an error.
Attachment #451107 -
Attachment is obsolete: true
Reporter | ||
Comment 11•15 years ago
|
||
Comment on attachment 451118 [details] [diff] [review]
Fix to Object.pm
skips any null elements
Attachment #451118 -
Flags: review?(LpSolit)
Comment 12•15 years ago
|
||
glob: Do you have any clue why IIS is passing us undef instead of an empty array for this situation?
Attachment #451118 -
Flags: review?(LpSolit) → review?(mkanat)
Reporter | ||
Comment 13•15 years ago
|
||
It's not just this situation. There's other areas in Bugzilla where we get undef responses too.
Comment 14•15 years ago
|
||
(In reply to comment #13)
> It's not just this situation. There's other areas in Bugzilla where we get
> undef responses too.
Which is why your patch is only a workaround, not a real fix. Probably Bugzilla/CGI.pm needs to be fixed, in that case.
Reporter | ||
Comment 15•15 years ago
|
||
Here's the dump you asked for.
$VAR1 = {
'' => undef,
'icon_url' => '',
'name' => 'Test',
'group_id' => '16',
'regexp' => '',
'desc' => 'tester1',
'isactive' => '1',
'action' => 'postchanges',
'token' => 'zVuthJK1kk'
};
Comment 16•15 years ago
|
||
Should be fixed by the patch in bug 521416.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → DUPLICATE
Updated•15 years ago
|
Attachment #451118 -
Flags: review?(mkanat)
You need to log in
before you can comment on or make changes to this bug.
Description
•