Closed
Bug 1069782
Opened 11 years ago
Closed 11 years ago
[traceback] KeyError: 'objects' api/v1/event/?format=ical&limit=%2527&start__gte=2014-09-17&offset=3
Categories
(Mozilla Reps Graveyard :: reps.mozilla.org, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stephend, Assigned: nemo-yiannis)
References
()
Details
(Whiteboard: [kb=1576365] [fuzzer])
https://reps-dev.allizom.org/api/v1/event/?format=ical&limit=%2527&start__gte=2014-09-17&offset=3 throws a 500
Can someone please update the bug with the traceback? Thx!
| Assignee | ||
Comment 1•11 years ago
|
||
Traceback (most recent call last):
File "/data/www/reps-dev.allizom.org/remo/vendor/lib/python/django/core/handlers/base.py", line 113, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib64/python2.6/site-packages/newrelic-2.22.1.20/newrelic/hooks/component_tastypie.py", line 43, in inner_fn_wrapper
return inner_fn(*args, **kwargs)
File "/data/www/reps-dev.allizom.org/remo/vendor/lib/python/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(*args, **kwargs)
File "/data/www/reps-dev.allizom.org/remo/vendor-local/src/django-tastypie/tastypie/resources.py", line 242, in wrapper
return self.error_response(request, data, response_class=http.HttpBadRequest)
File "/data/www/reps-dev.allizom.org/remo/vendor-local/src/django-tastypie/tastypie/resources.py", line 1243, in error_response
serialized = self.serialize(request, errors, desired_format)
File "/data/www/reps-dev.allizom.org/remo/vendor-local/src/django-tastypie/tastypie/resources.py", line 397, in serialize
return self._meta.serializer.serialize(data, format, options)
File "/data/www/reps-dev.allizom.org/remo/vendor-local/src/django-tastypie/tastypie/serializers.py", line 193, in serialize
serialized = getattr(self, "to_%s" % desired_format)(bundle, options)
File "/data/www/reps-dev.allizom.org/remo/remo/base/serializers.py", line 152, in to_ical
events = [event.obj for event in data['objects']]
KeyError: 'objects'
| Reporter | ||
Updated•11 years ago
|
Summary: [traceback] api/v1/event/?format=ical&limit=%2527&start__gte=2014-09-17&offset=3 throws a 500 Internal Server Error → [traceback] KeyError: 'objects' api/v1/event/?format=ical&limit=%2527&start__gte=2014-09-17&offset=3
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jgiannelos
Updated•11 years ago
|
Whiteboard: [fuzzer] → [kb=1576365] [fuzzer]
Comment 2•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/remo
https://github.com/mozilla/remo/commit/e54eb92d9ce5810aa67465336d35312c37c2d3d8
[fix bug 1069782] Fix export to ical through api traceback.
https://github.com/mozilla/remo/commit/9996e4cc558e452a0855a5232386e89e7f2fede8
Merge pull request #863 from akatsoulas/fix-events-api
[fix bug 1069782] Fix export to ical through api traceback.
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Version: unspecified → next
Comment 3•11 years ago
|
||
Verified on stage. This url [0] no more produces a 500 error.
[0] https://reps.allizom.org/api/v1/event/50/?format=ical
Status: RESOLVED → VERIFIED
Comment 4•11 years ago
|
||
Reopening since the initial url still throws a 500 error in dev server.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 5•11 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 6•11 years ago
|
||
Marking as verified. The link in the description of the bug no returns a 404.
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Version: next → 446
Updated•5 years ago
|
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•