Incomplete topcrasher URLs yield 500 error on missing version

RESOLVED WONTFIX

Status

Socorro
Webapp
RESOLVED WONTFIX
4 years ago
a year ago

People

(Reporter: peterbe, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

4 years ago
https://crash-stats-dev.allizom.org/topcrasher/products/Firefox causes a 500 error

It should yield a plain 404.
(Reporter)

Comment 1

4 years ago
Hmm... This wasn't as easy as I'd hope. 

/topcrasher/products/Firefox is a perfectly good URL (it's in urls.py) but was it's wired to do is to redirect to /topcrasher/products/Firefox/versions/XX.X where XX.X is the first *featured* version in the models.CurrentVersions() call. 

Basically, what appears to have happened with the dev server is that there are no featured Firefox versions at all. Should we be alarmed or is this just yet another reason to not trust the dev server?
(In reply to Peter Bengtsson [:peterbe] from comment #1)
> Hmm... This wasn't as easy as I'd hope. 
> 
> /topcrasher/products/Firefox is a perfectly good URL (it's in urls.py) but
> was it's wired to do is to redirect to
> /topcrasher/products/Firefox/versions/XX.X where XX.X is the first
> *featured* version in the models.CurrentVersions() call. 
> 
> Basically, what appears to have happened with the dev server is that there
> are no featured Firefox versions at all. Should we be alarmed or is this
> just yet another reason to not trust the dev server?

Are we still getting weekly snapshots of the DB from prod? It should be set however stage is, assuming that's working.
(Reporter)

Comment 3

a year ago
https://crash-stats.allizom.org/topcrasher/products/Firefox now 301 redirects to https://crash-stats.allizom.org/topcrasher/products/Firefox/versions/LATESTVERSION and on that page there's a notice about this being deprecated for the new SuperSearch based TopCrasher.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.