Project

General

Profile

Bug #2031

bug in issue config page (tissue_gui component dadmin_gui.py)

Added by Lauri Carpenter over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Start date:
10/18/2011
Due date:
% Done:

0%

Estimated time:
Duration:

Description

Bug when detector admin selects the "------" option (meaning "none" or "fallback to detector default") for EmailTo or BlockingType fields. We get the following email:

11-10-18 11:08:54  7088    ERROR  django.request> Internal Server Error: /tissue/issueConfig/
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_2c/dj/tissue_gui/src/dadmin_gui.py", line 519, in issueConfig
    return _issueCreateOrConfig(False, request, dcode=dcode, issue_id=issue_id)
  File "/fnal/ups/prd/tissue_gui/v2_2c/dj/tissue_gui/src/dadmin_gui.py", line 447, in _issueCreateOrConfig
    kwargs = _parse_issue_form_data(doCreate, form_data, this_detector, request.POST)
  File "/fnal/ups/prd/tissue_gui/v2_2c/dj/tissue_gui/src/dadmin_gui.py", line 326, in _parse_issue_form_data
    if form_value.pk != detector_default.pk:
AttributeError: 'NoneType' object has no attribute 'pk'

History

#1 Updated by Lauri Carpenter over 8 years ago

  • Status changed from New to Resolved

#2 Updated by Lauri Carpenter over 8 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF