Closed
Bug 591086
Opened 16 years ago
Closed 16 years ago
Crash in search form processing
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
5.11.9
People
(Reporter: jbalogh, Assigned: davedash)
References
(
URL
)
Details
(Whiteboard: [z])
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/amo_python/www/preview/zamboni/apps/search/views.py", line 274, in search
return _personas(request)
File "/data/amo_python/www/preview/zamboni/apps/search/views.py", line 163, in _personas
query = form.cleaned_data.get('q', '')
AttributeError: 'SecondarySearchForm' object has no attribute 'cleaned_data'
<WSGIRequest
GET:<QueryDict: {u'q': [u''], u'pp': [u'http://www.google.com/'], u'advanced': [u'/'], u'cat': [u'personas']}>,
POST:<QueryDict: {}>,
| Assignee | ||
Comment 1•16 years ago
|
||
| Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 2•16 years ago
|
||
Reopening; if you try to search again from the 404 page you get when loading that URL, you get a domain-less URL:
https://en-us/firefox/search/?q=term&cat=personas&lver=any&pid=1&sort=&pp=20&lup=&advanced=%2F
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 3•16 years ago
|
||
Dave: Jeff tells me this is a completely separate bug, so feel free to close if it's not caused by that patch, and I'll just file a spinoff bug.
BTW, the minimal testcase is searching from: https://preview.addons.mozilla.org/en-US/firefox/search//f
| Reporter | ||
Comment 4•16 years ago
|
||
(In reply to comment #3)
> BTW, the minimal testcase is searching from:
> https://preview.addons.mozilla.org/en-US/firefox/search//f
The problem comes from the double slash in the url.
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 6•16 years ago
|
||
Traceback (most recent call last):
File "/data/amo_python/www/next/zamboni/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/amo_python/www/next/zamboni/apps/search/views.py", line 257, in search
return _collections(request)
File "/data/amo_python/www/next/zamboni/apps/search/views.py", line 191, in _collections
query = form.cleaned_data.get('q', '')
AttributeError: 'SecondarySearchForm' object has no attribute 'cleaned_data'
/en-US/mobile/search/?q=k%27s+recommendation&cat=collections&pp=20&sortby=new'
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Updated•16 years ago
|
URL: http://preview.addons.mozilla.org/en-... → https://preview.addons.mozilla.org/en...
Updated•16 years ago
|
Priority: -- → P2
| Assignee | ||
Comment 7•16 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Comment 8•16 years ago
|
||
Verified FIXED; manually tested this, as well as re-ran my fuzzing tool.
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•