[traceback] AttributeError: 'NoneType' object has no attribute 'split'

VERIFIED FIXED in 6.1.0

Status

addons.mozilla.org Graveyard
API
P5
major
VERIFIED FIXED
7 years ago
2 years ago

People

(Reporter: stephend, Assigned: Andy McKay)

Tracking

unspecified
6.1.0

Details

(URL)

(Reporter)

Description

7 years ago
Traceback (most recent call last):

  File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/amo_python/www/preview/zamboni/apps/api/urls.py", line 15, in <lambda>
    inner = lambda *args, **kw: cls()(*args, **kw)

  File "/data/amo_python/www/preview/zamboni/apps/api/views.py", line 160, in __call__
    return self.process_request(*args, **kwargs)

  File "/data/amo_python/www/preview/zamboni/apps/api/views.py", line 220, in process_request
    return self.guid_search(query, limit)

  File "/data/amo_python/www/preview/zamboni/apps/api/views.py", line 208, in guid_search
    guids = [g.strip() for g in guids.split(',')]

AttributeError: 'NoneType' object has no attribute 'split'
I don't mind failing in an unfriendly manner since this is an API and stephend was messing around with the inputs ;), but tracebacks are lame.
Assignee: nobody → amckay
Priority: -- → P5
Target Milestone: --- → 6.1.0
(Assignee)

Comment 2

7 years ago
https://github.com/jbalogh/zamboni/commit/9772e59d3951ea5072f774130e152d3d93f4b9d3
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Reporter)

Comment 3

7 years ago
Verified FIXED on https://addons.allizom.org/en-US/firefox/api/1.5/search/guid:+972%22e4c6-7e08-4474-a285-3208198ce6fd%7D; thanks, Andy!
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.