Bug #96084
erreur au déprovisionning d'un usager, IntegrityError: update or delete on table "auth_user" violates foreign key constraint "django_admin_log_user_id_c...
Status:
Nouveau
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
29 September 2024
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/133875/
ForeignKeyViolation: update or delete on table "auth_user" violates foreign key constraint "django_admin_log_user_id_c564eba6_fk_auth_user_id" on table "django_admin_log" DETAIL: Key (id)=(57) is still referenced from table "django_admin_log". File "django/db/backends/base/base.py", line 242, in _commit return self.connection.commit() IntegrityError: update or delete on table "auth_user" violates foreign key constraint "django_admin_log_user_id_c564eba6_fk_auth_user_id" on table "django_admin_log" DETAIL: Key (id)=(57) is still referenced from table "django_admin_log". (6 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() provisionning failed