Project

General

Profile

Bug #60585

erreur à l'enregistrement d'une erreur quand "current transaction is aborted, commands ignored until end of transaction block"

Added by Frédéric Péters 14 days ago. Updated 14 days ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12 Jan 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

ProgrammingError: column "fbo13a98fa4_3e30_4ba7_9a4b_59e06d4464e1" does not exist
LINE 1: ...o8905eeec_12e9_424c_bd84_9372fa9dda67_structured, fbo13a98fa...
                                                             ^

  File "wcs/qommon/afterjobs.py", line 118, in run
    self.job_cmd(job=self)
  File "wcs/workflows.py", line 569, in update
    formdef.data_class().rebuild_security()
  File "wcs/sql.py", line 2380, in rebuild_security
    for formdata in formdatas:
  File "wcs/sql.py", line 1701, in select_iterator
    cur.execute(sql_statement, parameters)

InternalError: current transaction is aborted, commands ignored until end of transaction block

  File "wcs/qommon/__init__.py", line 79, in run
    super().run()
  File "threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "wcs/qommon/http_response.py", line 202, in process_after_jobs
    job.run(spool=True)
  File "wcs/qommon/afterjobs.py", line 120, in run
    get_publisher().record_error(exception=e, notify=True)
  File "wcs/publisher.py", line 415, in record_error
    **kwargs,
  File "wcs/logged_errors.py", line 146, in record_error
    **kwargs,
  File "wcs/logged_errors.py", line 97, in record
    error.store()
  File "wcs/sql.py", line 505, in f
    return func(*args, **kwargs)
  File "wcs/qommon/substitution.py", line 27, in f
    return func(*args, **kwargs)
  File "wcs/sql.py", line 3118, in store
    existing_errors = list(self.get_with_indexed_value('tech_id', self.tech_id))
  File "wcs/sql.py", line 1488, in get_with_indexed_value
    cur.execute(sql_statement, parameters)

Also available in: Atom PDF