Closed
Bug 1013494
Opened 11 years ago
Closed 11 years ago
/api/Query/ fails on APIWhitelistError
Categories
(Socorro :: Webapp, task)
Tracking
(Not tracked)
RESOLVED
FIXED
88
People
(Reporter: peterbe, Assigned: adrian)
References
()
Details
Traceback::
Traceback (most recent call last):
File "/usr/local/Cellar/python2.6/2.6.6/lib/python2.6/wsgiref/handlers.py", line 93, in run
self.result = application(self.environ, self.start_response)
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/webapp-django/vendor/lib/python/django/contrib/staticfiles/handlers.py", line 72, in __call__
return self.application(environ, start_response)
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/webapp-django/vendor/lib/python/django/core/handlers/wsgi.py", line 255, in __call__
response = self.get_response(request)
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/webapp-django/vendor/lib/python/django/core/handlers/base.py", line 178, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/webapp-django/vendor/lib/python/django/core/handlers/base.py", line 115, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/webapp-django/vendor-local/lib/python/waffle/decorators.py", line 36, in _wrapped_view
return view(request, *args, **kwargs)
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/webapp-django/vendor-local/lib/python/ratelimit/decorators.py", line 95, in _wrapped
return fn(request, *args, **kw)
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/webapp-django/crashstats/crashstats/utils.py", line 296, in wrapper
response = f(request, *args, **kw)
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/webapp-django/crashstats/crashstats/utils.py", line 53, in wrapper
response = f(request, *args, **kw)
File "/Users/peterbe/dev/MOZILLA/SOCORRO/socorro/webapp-django/crashstats/api/views.py", line 218, in model_wrapper
raise APIWhitelistError('No API_WHITELIST defined for %r' % model)
APIWhitelistError: No API_WHITELIST defined for <class 'crashstats.supersearch.models.Query'>
This is happening in production.
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → adrian
Reporter | ||
Comment 1•11 years ago
|
||
Errormill report https://errormill.mozilla.org/webtools/socorro-prod/group/168970/
Comment 2•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/f27901409e78237942370d7a7b08b96f9e226d9c
Fixes bug 1013494 - Remove Query model from the public API.
https://github.com/mozilla/socorro/commit/825e5a730b031337ba8247911b28170f43e85f14
Merge pull request #2058 from AdrianGaudebert/1013494-query-pu
Fixes bug 1013494 - Remove Query model from the public API.
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → 87
Updated•11 years ago
|
Target Milestone: 87 → 88
You need to log in
before you can comment on or make changes to this bug.
Description
•