Project

General

Profile

Actions

Anomalie #637

closed

CRASH on DELETE OPE

Added by Yann Le Jeune over 12 years ago. Updated over 12 years ago.

Status:
Fermé
Priority:
Haut
Assignee:
Category:
-
Target version:
Start date:
20 September 2011
Due date:
% Done:

100%

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

Description

Example OPE 2011-169 :

Environment:

Request Method: GET

Request URL: http://ishtar.proxience.com/test/operation_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

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

File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in call

  1. response = self.process_request(request, storage, *args, **kwargs)

File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in process_request

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

File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in process_get_request

  1. self.get_last_step(request, storage))), **kwargs)

File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in render_done

  1. request, storage, form, **kwargs)

File "/usr/local/lib/python2.6/dist-packages/formwizard/forms.py" in render_done

  1. done_response = self.done(request, storage, final_form_list, **kwargs)

File "/var/local/ishtar-test/ishtar/ishtar_base/forms.py" in done

  1. obj.delete()

File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in delete

  1. self._collect_sub_objects(seen_objs)

File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in _collect_sub_objects

  1. for sub_obj in delete_qs:

File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in _result_iter

  1. self._fill_cache()

File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in _fill_cache

  1. self._result_cache.append(self._iter.next())

File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in iterator

  1. for row in compiler.results_iter():

File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py" in results_iter

  1. for rows in self.execute_sql(MULTI):

File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py" in execute_sql

  1. cursor.execute(sql, params)

File "/usr/lib/pymodules/python2.6/django/db/backends/util.py" in execute

  1. return self.cursor.execute(sql, params)

File "/usr/lib/pymodules/python2.6/django/db/backends/postgresql_psycopg2/base.py" in execute

  1. return self.cursor.execute(query, args)

Exception Type: DatabaseError at /test/operation_deletion/done

Exception Value: ERREUR: la colonne operation_department.id n'existe pas

LINE 1: SELECT "operation_department"."id", "operation_department"."...

           ^
Actions #1

Updated by Anonymous over 12 years ago

  • % Done changed from 0 to 100
  • Status changed from Nouveau to Fermé

Appliqué par commit commit:"3b866e4dedc8d511500924734ab27e309ebc1a04".

Actions

Also available in: Atom PDF