Closed
Bug 845439
Opened 12 years ago
Closed 12 years ago
[socorro-crashstats] per-OS topcrash list has wrong order and messed table headers
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kairo, Assigned: rhelmer)
References
Details
Compare those two reports:
https://crash-stats-django.mozilla.org/topcrasher/products/Firefox/versions/19.0/date_range_type/report/crash_type/browser/os_name/Mac%20OS%20X?days=7
https://crash-stats.mozilla.com/topcrasher/byos/Firefox/19.0/Mac%20OS%20X/7/browser/report
Other than the URL for the former being somewhat complicated, it also misses one table header and the order of items isn't correct, it's not coming up sorted by topcrash rank (or amount of crashes on this OS).
Assignee | ||
Comment 1•12 years ago
|
||
Looks like this bug is specifically related to filtering by OS.
Assignee: nobody → rhelmer
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•12 years ago
|
||
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to Robert Helmer [:rhelmer] from comment #2)
> peterbe r? https://github.com/mozilla/socorro-crashstats/pull/304
Oops please ignore, that's the wrong bug :/
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #0)
> Compare those two reports:
>
> https://crash-stats-django.mozilla.org/topcrasher/products/Firefox/versions/
> 19.0/date_range_type/report/crash_type/browser/os_name/Mac%20OS%20X?days=7
>
> https://crash-stats.mozilla.com/topcrasher/byos/Firefox/19.0/Mac%20OS%20X/7/
> browser/report
>
> Other than the URL for the former being somewhat complicated, it also misses
> one table header and the order of items isn't correct, it's not coming up
> sorted by topcrash rank (or amount of crashes on this OS).
OK I have the table header issue fixed, totally separate (it's just omitted from the template by mistake). The URL is now key/value so /versions/19.0, crash_type/browser and so on because some Socorro URLs were like this and some were not. We made this consistent throughout the site to make the code simpler and also to make input validation easier (we can use common regexes for URL routes and common validation code etc) and put in redirects for the URLs in the old site.
Working on the ranking order now, I believe the problem is a little deeper - I see fewer results for os-filtered pages than on the PHP app, which makes me think what's going on is that we're taking the full list and filtering out all the entries that don't match our OS, leaving holds in the ranking. This is wrong - we should be re-requesting the list from the middleware (it can do the OS filtering)
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Robert Helmer [:rhelmer] from comment #4)
> Working on the ranking order now, I believe the problem is a little deeper -
> I see fewer results for os-filtered pages than on the PHP app, which makes
> me think what's going on is that we're taking the full list and filtering
> out all the entries that don't match our OS, leaving holds in the ranking.
> This is wrong - we should be re-requesting the list from the middleware (it
> can do the OS filtering)
Yeah looking at the mware URL I can see that this is the problem:
http://localhost:8080/bpapi/crashes/signatures/product/Firefox/version/19.0/crash_type/browser/end_date/2013-03-01/duration/168/limit/300/date_range_type/report/
The middleware should be doing the filtering here.
Assignee | ||
Comment 6•12 years ago
|
||
Ok peterbe r? https://github.com/mozilla/socorro-crashstats/pull/307
For real this time :)
Comment 7•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro-crashstats
https://github.com/mozilla/socorro-crashstats/commit/08ff6ed7edbb242fd11a1fac0a86d323a28eccd7
bug 845439 - fix table headers in os filter view
https://github.com/mozilla/socorro-crashstats/commit/954aa287f503e8e952d625a3558fe120f21a4f51
bug 845439 - support filtering topcrashers results by OS
https://github.com/mozilla/socorro-crashstats/commit/86705ab2d5d693b181001f55d198cb17cde51ecc
Merge pull request #307 from rhelmer/bug845439-topcrash-os-filter-broken
Bug845439 topcrash os filter broken
Assignee | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•