Bug #63647
DatabaseError: Save with update_fields did not affect any rows.
Début:
07 avril 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/55107/
DatabaseError: Save with update_fields did not affect any rows. (12 additional frame(s) were not displayed) ... File "authentic2/custom_user/models.py", line 345, in save super().save(*args, **kwargs) File "django/contrib/auth/base_user.py", line 66, in save super().save(*args, **kwargs) File "django/db/models/base.py", line 744, in save force_update=force_update, update_fields=update_fields) File "django/db/models/base.py", line 782, in save_base force_update, using, update_fields, File "django/db/models/base.py", line 858, in _save_table raise DatabaseError("Save with update_fields did not affect any rows.")
Demandes liées
Historique
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Projet changé de Suivi des traces à Authentic 2
Mis à jour par Benjamin Dauvergne il y a environ 2 ans
- Assigné à mis à Benjamin Dauvergne
Il semble que l'utilisateur ait disparu pendant la mise à jour du champ "user.modified" suite à la modification d'un attribut...
Mis à jour par Benjamin Dauvergne il y a environ 2 ans
- Bloqué par Development #64485: utiliser un système de verrou explicite pour empêcher des actions multiples sur un même identifiant (email par exemple) ajouté
Mis à jour par Benjamin Dauvergne il y a presque 2 ans
- Statut changé de En cours à Résolu (à déployer)
Corrigé par #64485.
Mis à jour par Frédéric Péters il y a presque 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée