Closed Bug 675033 Opened 15 years ago Closed 13 years ago

500 Internal Server Error in search, with bogus product

Categories

(Socorro :: General, task)

task
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Unassigned)

References

()

Details

(Whiteboard: [search])

Attachments

(1 file)

Component: Socorro → General
Product: Webtools → Socorro
Whiteboard: [fuzzer] → [search]
Depends on: 656297
This should work better (= throw a clear exception) with the django webapp.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attached image qa - reopened —
Reopening: error message not themed Admittedly an error is displayed to the user but it is lacking the crash-stats template. I apologize if another bug is already tracking this work but I couldn't find it. Please ignore if one is already open. Steps to reproduce: 1. goto https://crash-stats-dev.allizom.org/query?product=http://netsparker.com/n?%00.php&query_search=signature&query_type=contains&reason_type=contains&date=07%2F28%2F2011%2013%3A52%3A58&range_value=1&range_unit=weeks&hang_type=any&process_type=any&do_query=1&page=2 Actual: The error page only contains the following html <ul class="errorlist"><li>product<ul class="errorlist"><li>Select a valid choice. http://netsparker.com/n? is not one of the available choices.</li></ul></li></ul> [10:31:11.813] GET https://crash-stats.mozilla.com/query/?product=http://netsparker.com/n? [HTTP/1.1 400 BAD REQUEST 296ms] Expected: We use the django templates when displaying the error message
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: 500 Internal Server Error in search, with bogus product → /query/ Improve error messages for invalid queries
Please open a new bug for this; the original bug's fix was in scope and I can verify it.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Summary: /query/ Improve error messages for invalid queries → 500 Internal Server Error in search, with bogus product
Thanks stephend .. will do
Status: RESOLVED → VERIFIED
(In reply to Matt Brandt [:mbrandt] from comment #4) > Thanks stephend .. will do NP, and thanks for noticing the issue -- we'll definitely get it in another bug <3
(In reply to Stephen Donner [:stephend] from comment #5) > (In reply to Matt Brandt [:mbrandt] from comment #4) > > Thanks stephend .. will do > > NP, and thanks for noticing the issue -- we'll definitely get it in another > bug > > <3 Done :) bug 889491
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: