Closed Bug 804686 Opened 12 years ago Closed 12 years ago

[socorro-crashstats] product is not passed to /query

Categories

(Socorro :: Webapp, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: adrian)

References

Details

This is why the selenium test "test_that_advanced_search_for_product_can_be_filtered" is failing, and quite likely others as well. The old site uses a cookie to remember the user's last selected product, which we have (so far) opted not to do in the new site. I propose that all links to /query specify the product, e.g.: /query?product={{ product }}
(In reply to Robert Helmer [:rhelmer] from comment #0) > I propose that all links to /query specify the product, e.g.: > > /query?product={{ product }} If you do that, it will run a search when you call that page. We removed the do_query=1 thing in the URL, so searches are run when either product, version, query or date has a value. We can remove the product parameter from this check, see: https://github.com/mozilla/socorro-crashstats/blob/master/crashstats/crashstats/views.py#L1098
Assignee: nobody → adrian
Commits pushed to master at https://github.com/mozilla/socorro-crashstats https://github.com/mozilla/socorro-crashstats/commit/00173f661b530e316d7f49e0650bfcf1c9c12331 Fixes bug 804686 - Added product in links to /query. https://github.com/mozilla/socorro-crashstats/commit/deef0845ec4feb6f102955536a18f9ef1f00a5f2 Merge pull request #228 from AdrianGaudebert/804686-product-in-links-to-query Fixes bug 804686 - Added product in links to /query.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
This bug doesn't completely fix test_that_advanced_search_for_product_can_be_filtered; see http://qa-selenium-stage.mv.mozilla.com:8080/job/socorro.dev.redesign/287/HTML_Report/? (I'll just reopen bug 803748.)
You need to log in before you can comment on or make changes to this bug.