Project

General

Profile

Actions

Anomalie #2928

closed

Ishtar-Core : modify OPE crash from sheetfile

Added by Yann Le Jeune about 10 years ago. Updated over 9 years ago.

Status:
Fermé
Priority:
Haut
Assignee:
Category:
-
Target version:
Start date:
07 November 2015
Due date:
% Done:

0%

Estimated time:
Élément(s):
Difficulté:

Description

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

  1. response = callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view

  1. return self.dispatch(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in dispatch

  1. response = super(WizardView, self).dispatch(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch

  1. return handler(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in get

  1. files=self.storage.current_step_files,

File "/srv/ishtar-NHI/ishtar/archaeological_operations/wizards.py" in get_form

  1. form = super(OperationWizard, self).get_form(step, data, files)

File "/srv/ishtar-NHI/ishtar/ishtar_common/wizards.py" in get_form

  1. 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

  1. return self.form_liststep

File "/srv/ishtar-NHI/ishtar/archaeological_operations/forms.py" in init

  1. 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

Actions #1

Updated by Yann Le Jeune about 10 years ago

  • Description updated (diff)

Same crash from "modify" in menu

Actions #2

Updated by Yann Le Jeune almost 10 years ago

  • Assignee changed from Étienne Loks to Yann Le Jeune

To be checked

Actions #3

Updated by Yann Le Jeune over 9 years ago

Seems OK (ok with Etiolles DB)

Actions #4

Updated by Yann Le Jeune over 9 years ago

  • Status changed from Nouveau to Fermé

OK

Actions

Also available in: Atom PDF