Bug #88086
delete d'une page: error (IntegrityError: update or delete on table "data_page" violates foreign key constraint "search_indexedcell_page_id...)
Statut:
Nouveau
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
12 mars 2024
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/122935/
ForeignKeyViolation: update or delete on table "data_page" violates foreign key constraint "search_indexedcell_page_id_2107e76e_fk_data_page_id" on table "search_indexedcell" DETAIL: Key (id)=(168) is still referenced from table "search_indexedcell". File "django/db/backends/base/base.py", line 242, in _commit return self.connection.commit() IntegrityError: update or delete on table "data_page" violates foreign key constraint "search_indexedcell_page_id_2107e76e_fk_data_page_id" on table "search_indexedcell" DETAIL: Key (id)=(168) is still referenced from table "search_indexedcell". (12 additional frame(s) were not displayed) ... File "django/utils/asyncio.py", line 33, in inner return func(*args, **kwargs) File "django/db/backends/base/base.py", line 266, in commit self._commit() File "django/db/backends/base/base.py", line 241, in _commit with self.wrap_database_errors: File "django/db/utils.py", line 90, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "django/db/backends/base/base.py", line 242, in _commit return self.connection.commit()