Closed
Bug 191043
Opened 23 years ago
Closed 23 years ago
Trying to create a bug without selecting a component results in internal server error
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 191080
People
(Reporter: jussi, Assigned: myk)
Details
Attachments
(1 file)
|
714 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030125
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030125
Creating a bug without selecting a component for it results in an internal
server error with the following information in the servers logs:
DBD::mysql::st execute failed: You have an error in your SQL syntax near '' at
line 1 at Bugzilla/DB.pm line 64
Bugzilla::DB::SendSQL('SELECT id FROM components WHERE product_id = 3
AND name = ') called at globals.pl line 897
main::get_component_id(3, undef) called at
/usr/local/bugzilla/post_bug.cgi line 110
[Wed Jan 29 02:30:46 2003] [error] [client 192.168.3.220] Premature end of
script headers: /usr/local/bugzilla/post_bug.cgi
I'm using the latest CVS version of bugzilla.
Reproducible: Always
Steps to Reproduce:
| Reporter | ||
Comment 1•23 years ago
|
||
A fix. Someone should verify that the other check for $component_id is not
needed anymore with this fix.
| Reporter | ||
Updated•23 years ago
|
Attachment #112927 -
Flags: review?
Comment 2•23 years ago
|
||
Duping to the bug with a fix. This patch is probbly good, too, but its not
sufficient by itsself.
*** This bug has been marked as a duplicate of 191080 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•23 years ago
|
Attachment #112927 -
Flags: review?
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
•