Closed Bug 549639 Opened 15 years ago Closed 15 years ago

search failure

Categories

(addons.mozilla.org Graveyard :: API, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jbalogh, Assigned: davedash)

References

()

Details

(Whiteboard: [z][r?jbalogh][gh:davedash])

Traceback (most recent call last): File "/data/virtualenvs_preview/zamboni/lib/python2.6/site-packages/django/core/handlers/base.py", line 101, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/amo_python/www/preview/zamboni/apps/api/urls.py", line 9, in <lambda> class_view = lambda x: lambda *args, **kwargs: x()(*args, **kwargs) File "/data/amo_python/www/preview/zamboni/apps/api/views.py", line 55, in __call__ return self.process_request(*args, **kwargs) File "/data/amo_python/www/preview/zamboni/apps/api/views.py", line 126, in process_request results = sc.query(query, limit=int(limit), **opts) File "/data/amo_python/www/preview/zamboni/apps/search/client.py", line 192, in query addon_type = types[addon_type.lower()] KeyError: u'dict'
Status: NEW → ASSIGNED
Whiteboard: [z] → [z][r?jbalogh][gh:davedash]
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Please mention how to verify this bug for QA.
Observe that this url returns 200: /en-US/firefox/api/1.2/search/firebug type:dict on preview.amo
Verified FIXED: https://preview.addons.mozilla.org/en-US/firefox/api/1.2/search/firebug%20type:dict GET /en-US/firefox/api/1.2/search/firebug%20type:dict HTTP/1.1 Host: preview.addons.mozilla.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 Connection: keep-alive Cookie: __utma=164683759.1434749733.1267659710.1267665047.1267724706.3; __utmz=164683759.1267724706.3.3.utmccn=(referral)|utmcsr=bugzilla.mozilla.org|utmcct=/show_bug.cgi|utmcmd=referral; s_vsn_mozillapreviewaddonsorg_1=2694108968196; __utmv=164683759.Loggedin; __utma=150903082.1069570533.1267662366.1267662366.1267662366.1; __utmz=150903082.1267662366.1.1.utmcsr=gsnippet|utmccn=s170210|utmcmd=(not+set)|utmcct=openweb; s_vsn_mozillaaddonsorg_1=1378472297079 Pragma: no-cache Cache-Control: no-cache HTTP/1.1 200 OK
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.