Project

General

Profile

Bug #2467

Exemption filter for detector *and* issue fails

Added by Randy Reitz almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Start date:
02/09/2012
Due date:
% Done:

0%

Estimated time:
Duration:

Description

Traceback:
12-02-09 09:02:50 5409 ERROR django.request> Internal Server Error: /tissue/showExemptions/
Traceback (most recent call last):
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/contrib/auth/decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/fnal/ups/prd/tissue_gui/v2_3j/dj/tissue_gui/src/exempt_gui.py", line 738, in showExemptions
data = _showExemptionsData(request, form)
File "/fnal/ups/prd/tissue_gui/v2_3j/dj/tissue_gui/src/exempt_gui.py", line 673, in _showExemptionsData
exemption_list = filter_exemptions(request, form.cleaned_data)
File "/fnal/ups/prd/tissue_gui/v2_3j/dj/tissue_gui/src/exempt_gui.py", line 616, in filter_exemptions
limit=form_data.get('limit'))
File "/fnal/ups/prd/tissue_gui/v2_3j/dj/tissue_gui/src/exempt_gui.py", line 668, in _do_filter_exemptions
return TissueQueryImpl.queryExemptions(agent, **kwargs)
File "/fnal/ups/prd/tissue_query/v2_3e/TissueQuery/TissueQueryImpl.py", line 443, in queryExemptions
issue = Issues.objects.get(icode=icode)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/fnal/ups/prd/django/v1_3_0/Django-1.3/django/db/models/query.py", line 351, in get
% (self.model._meta.object_name, num, kwargs))
MultipleObjectsReturned: get() returned more than one Issues -- it returned 3! Lookup parameters were {'icode': u'MSSQL'}

History

#1 Updated by Lauri Carpenter almost 8 years ago

  • Status changed from New to Resolved

#2 Updated by Lauri Carpenter almost 8 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF