Closed
Bug 575086
Opened 15 years ago
Closed 15 years ago
31 days query results in "Unable to Complete Request"
Categories
(Socorro :: General, task)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 610457
1.7.6
People
(Reporter: wsmwk, Assigned: ryansnyder)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.81 KB,
patch
|
ozten
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #482441 +++
bug 482441 provided longer query (thanks!) - 120 days - and I'm finally checking the functionality. But the results are not usable ...
1. from http://crash-stats.mozilla.com/query do query for 31 days against nsPrefBranch::Observe(nsISupports*, char const*, unsigned short const*) - i.e. http://crash-stats.mozilla.com/report/list?product=Thunderbird&query_search=signature&query_type=exact&query=nsPrefBranch%3A%3AObserve%28nsISupports*%2C%20char%20const*%2C%20unsigned%20short%20const*%29&date=06%2F27%2F2010%2008%3A32%3A38&range_value=31&range_unit=days&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=1&signature=nsPrefBranch%3A%3AObserve%28nsISupports*%2C%20char%20const*%2C%20unsigned%20short%20const*%29
2. click link to bring up results list of crashes
"Unable to Complete Request"
3. shorten query to 30 days
works
in short ...
works 30days http://crash-stats.mozilla.com/report/list?product=Thunderbird&query_search=signature&query_type=exact&query=nsPrefBranch%3A%3AObserve(nsISupports*%2C char const*%2C unsigned short const*)&date=06%2F27%2F2010 08%3A32%3A38&range_value=30&range_unit=days&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=1&signature=nsPrefBranch%3A%3AObserve(nsISupports*%2C char const*%2C unsigned short const*)
fails 31days http://crash-stats.mozilla.com/report/list?product=Thunderbird&query_search=signature&query_type=exact&query=nsPrefBranch%3A%3AObserve(nsISupports*%2C char const*%2C unsigned short const*)&date=06%2F27%2F2010 08%3A32%3A38&range_value=31&range_unit=days&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=1&signature=nsPrefBranch%3A%3AObserve(nsISupports*%2C char const*%2C unsigned short const*)
Comment 1•15 years ago
|
||
Sounds like a problem with bug 482441 - Ryan, over to you.
Assignee: nobody → ryan
Keywords: regression
Assignee | ||
Comment 2•15 years ago
|
||
Thanks, I'll take a look...
Assignee | ||
Comment 3•15 years ago
|
||
From what I can tell, the $config['query_range_defaults'] parameters is missing from config/application.php. Will investigate.
Assignee | ||
Comment 4•15 years ago
|
||
Turns out it wasn't an issue with the config file, but rather because the code did not have an isset() statement before checking the value of a parameter. Also added an admin parameter in the report->do_list() controller.
Attachment #454992 -
Flags: review?(ozten.bugs)
Comment 5•15 years ago
|
||
Comment on attachment 454992 [details] [diff] [review]
Patch 1 for 575086
looks good, but let's get rid of the multiple calls to isset.
> (!isset($params['admin']) || (isset($params['admin']) && $params['admin'] === false))
The second isset is redundant since we won't get past || unless $params['admin'] is set.
The first !isset($params['admin']) will short circuit the || expression when true.
The grouping is hard to scan visually, so this might help.
Attachment #454992 -
Flags: review?(ozten.bugs) → review+
Assignee | ||
Comment 6•15 years ago
|
||
Thanks Austin!
This will be available for testing on stage in 15 minutes.
==
Sending webapp-php/application/controllers/report.php
Sending webapp-php/application/libraries/MY_SearchReportHelper.php
Transmitting file data ..
Committed revision r2187.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.8
Comment 7•15 years ago
|
||
Verified FIXED on http://crash-stats.stage.mozilla.com/report/list?product=Thunderbird&query_search=signature&query_type=exact&query=nsPrefBranch%3A%3AObserve%28nsISupports*%2C%20char%20const*%2C%20unsigned%20short%20const*%29&date=06%2F27%2F2010%2008%3A32%3A38&range_value=31&range_unit=days&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=1&signature=nsPrefBranch%3A%3AObserve%28nsISupports*%2C%20char%20const*%2C%20unsigned%20short%20const*%29; I now get:
Uh oh! Something went wrong...
The maximum query date range you can perform is 30 days. Admins may log in to increase query date range limits. Query results have been narrowed to the default range of 14 days.
Status: RESOLVED → VERIFIED
Comment 8•15 years ago
|
||
Merge to 1.7.6
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Target Milestone: 1.8 → 1.7.6
Assignee | ||
Comment 9•15 years ago
|
||
This can also be tested using the following url:
http://crash-stats.stage.mozilla.com/report/list?product=Thunderbird&query_search=signature&query_type=exact&query=nsMsgSearchSession%3A%3AGetRunningAdapter%28nsIMsgSearchAdapter**%29&date=11%2F04%2F2010%2014%3A08%3A07&range_value=16&range_unit=weeks&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=1&signature=nsMsgSearchSession%3A%3AGetRunningAdapter%28nsIMsgSearchAdapter**%29
(In reply to comment #9)
> This can also be tested using the following url:
>
> http://crash-stats.stage.mozilla.com/report/list?product=Thunderbird&query_search=signature&query_type=exact&query=nsMsgSearchSession%3A%3AGetRunningAdapter%28nsIMsgSearchAdapter**%29&date=11%2F04%2F2010%2014%3A08%3A07&range_value=16&range_unit=weeks&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=1&signature=nsMsgSearchSession%3A%3AGetRunningAdapter%28nsIMsgSearchAdapter**%29
This URL doesn't work for me, so I filed bug 610702.
Assignee | ||
Comment 11•15 years ago
|
||
This works. But only in HTTPS. Socorro UI does not recognize admins unless we are using HTTPS. Resolving as a duplicate of Bug 610457.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → DUPLICATE
Updated•14 years ago
|
Component: Socorro → General
Product: Webtools → Socorro
You need to log in
before you can comment on or make changes to this bug.
Description
•