Closed
Bug 588228
Opened 15 years ago
Closed 15 years ago
AssertionError when num_votes is None
Categories
(support.mozilla.org :: Search, defect)
support.mozilla.org
Search
Tracking
(Not tracked)
VERIFIED
FIXED
2.2.4
People
(Reporter: paulc, Assigned: paulc)
Details
Go to:
http://support.mozilla.com/en-US/search?q=&num_voted=2&num_votes=&asked_by=&answered_by=&q_tags=&created=0&created_date=&updated=0&updated_date=&sortby=0&a=1&w=2
Result:
Traceback (most recent call last):
File "/data/virtualenvs/kitsune/src/django/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/www/support.mozilla.com/kitsune/apps/search/views.py", line 409, in search
documents += qc.query(cleaned['q'], filters_q)
File "/data/www/support.mozilla.com/kitsune/apps/search/clients.py", line 118, in query
self._prepare_filters(filters)
File "/data/www/support.mozilla.com/kitsune/apps/search/clients.py", line 84, in _prepare_filters
f['max'], f.get('exclude', False))
File "/data/www/support.mozilla.com/kitsune/apps/search/sphinxapi.py", line 387, in SetFilterRange
assert(isinstance(min_, (int,long)))
AssertionError
Assignee | ||
Comment 1•15 years ago
|
||
Wouldn't have targeted this for 2.2.3 but I already have a fix for it. Can be pushed out though.
Comment 2•15 years ago
|
||
Paul: can you take the chance to make sure none of the query string parameters can cause 500 errors?
Updated•15 years ago
|
Target Milestone: 2.2.3 → 2.2.4
Assignee | ||
Comment 3•15 years ago
|
||
Manually looked (read: played with the URL), nothing else seems to cause 500s.
Target Milestone: 2.2.4 → 2.2.3
Assignee | ||
Updated•15 years ago
|
Target Milestone: 2.2.3 → 2.2.4
Assignee | ||
Comment 4•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 5•15 years ago
|
||
I still get an error from the original link- should that be working?
Comment 6•15 years ago
|
||
The original link on production or staging?
Comment 7•15 years ago
|
||
Oops, it works in Stage- I forgot to adjust the url. Verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•