Closed Bug 660198 Opened 13 years ago Closed 13 years ago

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

Categories

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

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: andy+bugzilla)

References

()

Details

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
https://github.com/jbalogh/zamboni/commit/9772e59d3951ea5072f774130e152d3d93f4b9d3
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.