Anomalie #212
ferméOPE MODIF / Crash when updating the motivation for prescription
0%
Description
When adding some reasons for an operation (Zoning / geoarch context) :
theses datas are not shown in summary before update of the OPE,
If we validate there's a crash (an add not conform with DB ?) :
MOD_PYTHON ERROR
ProcessId: 25566
Interpreter: 'ishtar'
ServerName: 'lysithea.proxience.com'
DocumentRoot: '/var/www'
URI: '/ishtar/operation_modification/done'
Location: '/ishtar/'
Directory: None
Filename: '/var/www/ishtar'
PathInfo: '/operation_modification/done'
Phase: 'PythonHandler'
Handler: 'django.core.handlers.modpython'
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1229, in _process_target
result = _execute_target(config, req, object, arg)
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1128, in _execute_target
result = object(arg)
File "/usr/lib/pymodules/python2.6/django/core/handlers/modpython.py", line 228, in handler
return ModPythonHandler()(req)
File "/usr/lib/pymodules/python2.6/django/core/handlers/modpython.py", line 205, in call
response = middleware_method(request, response)
File "/usr/lib/pymodules/python2.6/django/contrib/sessions/middleware.py", line 36, in process_response
request.session.save()
File "/usr/lib/pymodules/python2.6/django/contrib/sessions/backends/db.py", line 61, in save
sid = transaction.savepoint(using=using)
File "/usr/lib/pymodules/python2.6/django/db/transaction.py", line 229, in savepoint
connection._savepoint(sid)
File "/usr/lib/pymodules/python2.6/django/db/backends/init.py", line 56, in _savepoint
self.cursor().execute(self.ops.savepoint_create_sql(sid))
File "/usr/lib/pymodules/python2.6/django/db/backends/util.py", line 15, in execute
return self.cursor.execute(sql, params)
File "/usr/lib/pymodules/python2.6/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: ERREUR: la transaction est annulée, les commandes sont ignorées jusqu'à la fin du bloc
de la transaction