Closed Bug 915265 Opened 11 years ago Closed 11 years ago

Loading topcrashers with unknown product should produce a 404 error

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

Details

Attachments

(1 file)

Assignee: nobody → peterbe
Status: NEW → ASSIGNED
:rhelmer mind taking a quick r?
(In reply to Peter Bengtsson [:peterbe] from comment #2) > :rhelmer mind taking a quick r? sure
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/b762e32ca20b77e03eac5e82c52e2ab18af4da67 fixes bug 915265 - Loading topcrashers with unknown product doesn't 404, r=rhelmer
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 59
Attached image qa - reopened
Reopening for clarification: 1. The the title of the bug leads me to understand that a HTTP 404 is incorrect. - Bug title - > "Loading topcrashers with unknown product doesn't 404" - [14:14:29.166] GET https://crash-stats.allizom.org/topcrasher/products/Camino/versions/2.0.1 [HTTP/1.1 404 NOT FOUND 233ms] 2. Should the page display an error with "Product Unrecognized?" It doesn't appear to. - https://crash-stats.allizom.org/topcrasher/products/dude/versions/2.0.1 - https://crash-stats.allizom.org/topcrasher/products/Camino/versions/2.0.1 - https://github.com/mozilla/socorro/commit/b762e32ca20b77e03eac5e82c52e2ab18af4da67#L1R300
Status: RESOLVED → REOPENED
OS: Mac OS X → All
Hardware: x86 → All
Resolution: FIXED → ---
Thanks for asking. No, what should happen is a 404 error which according to your last comment it correctly does. No, we don't want a "Product Unrecognized" there. Perhaps we should since the URL getting you there was an old bookmark or something. What do you think? I'm primarily interested in not getting a 500 error.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Summary: Loading topcrashers with unknown product doesn't 404 → Loading topcrashers with unknown product should produce a 404 error
Sounds great - bumping to QA verified. A 404 is most-excellently (and definitely) better than a 500 error. I'd vote for note adding additional error handling, I suspect our users are proficient enough to recognize when an invalid product version, etc is used.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: