Bug #58900
Image.DoesNotExist: Image matching query does not exist.
Début:
23 novembre 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/53943/
Image.DoesNotExist: Image matching query does not exist. (3 additional frame(s) were not displayed) ... File "django/contrib/auth/decorators.py", line 21, in _wrapped_view return view_func(request, *args, **kwargs) File "django/contrib/auth/decorators.py", line 21, in _wrapped_view return view_func(request, *args, **kwargs) File "combo/apps/gallery/views.py", line 68, in image_delete Image.objects.get(id=pk).delete() File "django/db/models/manager.py", line 82, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "django/db/models/query.py", line 408, in get self.model._meta.object_name
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a plus de 2 ans
- Fichier 0001-gallery-return-404-if-cell-of-image-is-not-found-589.patch 0001-gallery-return-404-if-cell-of-image-is-not-found-589.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Lauréline Guérin
- Patch proposed changé de Non à Oui
Mis à jour par Valentin Deniaud il y a plus de 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Lauréline Guérin il y a plus de 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 232afadc29f1f1d9ee8046f90e25663f7805f568 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Tue Nov 23 20:20:19 2021 +0100 gallery: return 404 if cell of image is not found (#58900)
Mis à jour par Frédéric Péters il y a plus de 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
gallery: return 404 if cell of image is not found (#58900)