Closed
Bug 857316
Opened 12 years ago
Closed 12 years ago
[traceback] MultipleObjectsReturned: get() returned more than one Translation -- it returned 2! Lookup parame...
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P1)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
2013-04-04
People
(Reporter: krupa.mozbugs, Assigned: cvan)
References
()
Details
steps to reproduce:
1. Load https://addons-dev.allizom.org/en-US/developers/theme/sfsaesa9609709709/edit
traceback details:
Stacktrace (most recent call last):
(9 additional frame(s) were not displayed)
...
File "devhub/decorators.py", line 50, in wrapper
return fun()
File "devhub/decorators.py", line 34, in <lambda>
*args, **kw)
File "waffle/decorators.py", line 20, in _wrapped_view
return view(request, *args, **kwargs)
File "devhub/views.py", line 323, in edit_theme
request=request, instance=addon)
File "addons/forms.py", line 632, in __init__
self.initial['name'] = Translation.objects.get(id=self.initial['name'])
sentry:
http://sentry.dmz.phx1.mozilla.com/addons/addons-dev/group/12762/
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → cvan
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → 2013-04-04
Assignee | ||
Comment 1•12 years ago
|
||
MultipleObjectsReturned: get() returned more than one Translation -- it returned 2! Lookup parameters were {'id': 3806214L}
Stacktrace (most recent call last):
File "django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "newrelic/api/object_wrapper.py", line 198, in __call__
self._nr_instance, args, kwargs)
File "newrelic/hooks/framework_django.py", line 447, in wrapper
return wrapped(*args, **kwargs)
File "amo/decorators.py", line 157, in wrapper
return f(*args, **kw)
File "amo/decorators.py", line 149, in wrapper
return f(*args, **kw)
File "addons/decorators.py", line 33, in wrapper
return f(request, addon, *args, **kw)
File "amo/decorators.py", line 32, in wrapper
return func(request, *args, **kw)
File "devhub/decorators.py", line 50, in wrapper
return fun()
File "devhub/decorators.py", line 34, in <lambda>
*args, **kw)
File "waffle/decorators.py", line 20, in _wrapped_view
return view(request, *args, **kwargs)
File "devhub/views.py", line 323, in edit_theme
request=request, instance=addon)
File "addons/forms.py", line 632, in __init__
self.initial['name'] = Translation.objects.get(id=self.initial['name'])
File "django/db/models/manager.py", line 131, in get
return self.get_query_set().get(*args, **kwargs)
File "django/db/models/query.py", line 368, in get
% (self.model._meta.object_name, num, kwargs))
Assignee | ||
Comment 2•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•12 years ago
|
||
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•