Anomalie #2928
Mis à jour par Yann Le Jeune il y a environ 9 ans
On an Ishtar-Core solo instance, the modify crashes, lack of link with the FILES ??
________________________________________________________________________
ValueError at /operation_modification/general-operation_modification
'associated_file' is not in list
Request Method: GET
Request URL: http://ishtar-nhi.paleosystem.fr/operation_modification/general-operation_modification
Django Version: 1.4.5
Exception Type: ValueError
Exception Value:
'associated_file' is not in list
Exception Location: /srv/ishtar-NHI/ishtar/archaeological_operations/forms.py in __init__, line 699
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
109. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view
48. return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in dispatch
223. response = super(WizardView, self).dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
69. return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in get
636. files=self.storage.current_step_files,
File "/srv/ishtar-NHI/ishtar/archaeological_operations/wizards.py" in get_form
182. form = super(OperationWizard, self).get_form(step, data, files)
File "/srv/ishtar-NHI/ishtar/ishtar_common/wizards.py" in get_form
571. form = super(Wizard, self).get_form(step, data, files)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in get_form
395. return self.form_list[step](**kwargs)
File "/srv/ishtar-NHI/ishtar/archaeological_operations/forms.py" in __init__
699. self.fields.keyOrder.pop(self.fields.keyOrder.index('associated_file'))
Exception Type: ValueError at /operation_modification/general-operation_modification
Exception Value: 'associated_file' is not in list