MultipleObjectsReturned: get() returned more than one Team -- it returned 2! Lookup parameters were {'lp_name': u'ubuntu-ne'}

Bug #991592 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LoCo Team Portal
Invalid
Medium
Unassigned

Bug Description

Traceback (most recent call last):

 File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 92, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/srv/loco.ubuntu.com/loco_directory/teams/views.py", line 163, in team_detail
   team_object = get_object_or_404(Team, lp_name=team_slug)

 File "/usr/lib/pymodules/python2.6/django/shortcuts/__init__.py", line 85, in get_object_or_404
   return queryset.get(*args, **kwargs)

 File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 307, in get
   % (self.model._meta.object_name, num, kwargs))

MultipleObjectsReturned: get() returned more than one Team -- it returned 2! Lookup parameters were {'lp_name': u'ubuntu-ne'}

Changed in loco-team-portal:
importance: Undecided → Medium
Adnane Belmadiaf (daker)
Changed in loco-team-portal:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.