Closed
Bug 873472
Opened 11 years ago
Closed 11 years ago
ISE: DocumentTag MultipleObjectsReturned
Categories
(developer.mozilla.org Graveyard :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 871638
People
(Reporter: groovecoder, Unassigned)
Details
(Whiteboard: [specification][type:bug])
What did you do? ================ 1. /en-US/docs/tag/CSS Reference What happened? ============== ISE: What should have happened? ========================== No ISE Is there anything else we should know? ====================================== Traceback (most recent call last): File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/views/decorators/http.py", line 41, in inner return func(request, *args, **kwargs) File "/data/www/developer.mozilla.org/kuma/apps/wiki/views.py", line 744, in list_documents tag_obj = tag and get_object_or_404(DocumentTag, name=tag) or None File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/shortcuts/__init__.py", line 113, in get_object_or_404 return queryset.get(*args, **kwargs) File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/db/models/query.py", line 368, in get % (self.model._meta.object_name, num, kwargs)) MultipleObjectsReturned: get() returned more than one DocumentTag -- it returned 2! Lookup parameters were {'name': u'CSS Reference'}
Reporter | ||
Updated•11 years ago
|
Priority: -- → P1
Comment 1•11 years ago
|
||
This is a duplicate
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•