alertprofiles: adding subscription fails (when form is not valid?)

Bug #1541246 reported by John-Magne Bredal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Undecided
John-Magne Bredal

Bug Description

Adding a subscription to an existing time period failed with the following error:

AttributeError: 'module' object has no attribute 'util'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/nav/web/alertprofiles/decorators.py", line 45, in _handler return func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/nav/web/alertprofiles/views.py", line 722, in profile_time_period_subscription_add if not form.is_valid():
File "/usr/lib/python2.7/dist-packages/django/forms/forms.py", line 162, in is_valid return self.is_bound and not bool(self.errors)
File "/usr/lib/python2.7/dist-packages/django/forms/forms.py", line 154, in errors self.full_clean()
File "/usr/lib/python2.7/dist-packages/django/forms/forms.py", line 354, in full_clean self._clean_form()
File "/usr/lib/python2.7/dist-packages/django/forms/forms.py", line 378, in _clean_form cleaned_data = self.clean()
File "/usr/lib/python2.7/dist-packages/nav/web/alertprofiles/forms.py", line 303, in clean raise forms.util.ValidationError(error_msg)
AttributeError: 'module' object has no attribute 'util'

Changed in nav:
assignee: nobody → John-Magne Bredal (john-m-bredal)
Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :
Changed in nav:
status: New → Fix Committed
milestone: none → 4.4.2
Changed in nav:
status: Fix Committed → Fix Released
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.