Closed Bug 960127 Opened 10 years ago Closed 8 years ago

Incomplete topcrasher URLs yield 500 error on missing version

Categories

(Socorro :: Webapp, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: peterbe, Unassigned)

References

()

Details

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

It should yield a plain 404.
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.
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
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.