Anomalie #624
ferméDELETE FILE / Crash on FILE 2011-72
0%
Description
Environment:
Request Method: GET
Request URL: http://ishtar.proxience.com/test/file_deletion/done
Django Version: 1.2.3
Python Version: 2.6.6
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
'registration',
'ishtar.ishtar_base']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in get_response
- response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in call
- response = self.process_request(request, storage, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in process_request
- return self.process_get_request(request, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in process_get_request
- self.get_last_step(request, storage))), **kwargs)
File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in render_done
- request, storage, form, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in render_done
- done_response = self.done(request, storage, final_form_list, **kwargs)
File "/var/local/ishtar-test/ishtar/ishtar_base/forms_files.py" in done
- obj.delete()
File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in delete
- self._collect_sub_objects(seen_objs)
File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in _collect_sub_objects
- for sub_obj in delete_qs:
File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in _result_iter
- self._fill_cache()
File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in _fill_cache
- self._result_cache.append(self._iter.next())
File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in iterator
- for row in compiler.results_iter():
File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py" in results_iter
- for rows in self.execute_sql(MULTI):
File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py" in execute_sql
- cursor.execute(sql, params)
File "/usr/lib/pymodules/python2.6/django/db/backends/util.py" in execute
- return self.cursor.execute(sql, params)
File "/usr/lib/pymodules/python2.6/django/db/backends/postgresql_psycopg2/base.py" in execute
- return self.cursor.execute(query, args)
Exception Type: DatabaseError at /test/file_deletion/done
Exception Value: ERREUR: la colonne file_department.id n'existe pas
LINE 1: SELECT "file_department"."id", "file_department"."file_id", ...
^
Mis à jour par Étienne Loks il y a plus de 11 ans
- Statut changé de Nouveau à Résolu
The database schema has changed - this bug is not relevant anymore (but maybe there is another one still hiding in the dark...).