Anomalie #1386
ferméCrash on OPE MODIF
0%
Description
Ishtar crashes when doing a modif of an OPE. Here 2013.098 where i tried to add a date for beginning of field work.
It crashes after "Validate and continue" and so on after that
IndexError at /operation_modification/
list index out of range
Request Method: POST
Request URL: http://192.168.100.204/operation_modification/
Django Version: 1.4.5
Exception Type: IndexError
Exception Value:
list index out of range
Exception Location: /srv/ishtar/ishtar_common/wizards.py in get_form, line 483
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/pymodules/python2.7',
'/srv/ishtar/',
'/usr/local/lib/',
'/usr/local/lib/']
Server time: ven, 6 Sep 2013 15:53:55 +0200
Traceback Switch to copy-and-paste view
/usr/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response
response = callback(request, *callback_args, **callback_kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/views/generic/base.py in view
return self.dispatch(request, *args, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in dispatch
response = super(WizardView, self).dispatch(request, *args, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/views/generic/base.py in dispatch
return handler(request, *args, **kwargs)
...
▶ Local vars
/srv/ishtar/ishtar_common/wizards.py in post
return super(Wizard, self).post(*args, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in post
return super(NamedUrlWizardView, self).post(*args, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in post
return self.render_next_step(form)
...
▶ Local vars
/srv/ishtar/ishtar_common/wizards.py in render_next_step
return self.render(new_form)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in render
context = self.get_context_data(form=form, **kwargs)
...
▶ Local vars
/srv/ishtar/archaeological_operations/wizards.py in get_context_data
**kwargs)
...
▶ Local vars
/srv/ishtar/ishtar_common/wizards.py in get_context_data
files=self.storage.get_step_files(form_key))
...
▶ Local vars
/srv/ishtar/archaeological_operations/wizards.py in get_form
form = super(OperationWizard, self).get_form(step, data, files)
...
▶ Local vars
/srv/ishtar/ishtar_common/wizards.py in get_form
base_key = required_fields[-1]
...
▶ Local vars