Closed
Bug 889491
Opened 11 years ago
Closed 8 years ago
Improve error messages for invalid queries
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mbrandt, Assigned: peterbe)
References
()
Details
Attachments
(2 files)
Admittedly an error is displayed to the user but it is lacking the beauty of the lovely-happy inspiration of 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.mozilla.com/query?product=happy_pandas_were_here 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=happy_pandas_were_here [HTTP/1.1 400 BAD REQUEST 296ms] Expected: We use the django templates when displaying the error message
Assignee | ||
Comment 1•8 years ago
|
||
This should be possible with https://docs.djangoproject.com/en/1.8/ref/urls/#django.conf.urls.handler400
Assignee: nobody → peterbe
Assignee | ||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/2b32f0bef3622075c538ecd0cdc9b89c09dc1012 fixes bug 889491 - Improve error messages for invalid queries (#3359) r=adngdb
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•