Bug #63650
MultiValueDictKeyError: 'moved-page-new-parent'
Début:
07 avril 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/55109/
KeyError: 'moved-page-new-parent' File "django/utils/datastructures.py", line 78, in __getitem__ list_ = super().__getitem__(key) MultiValueDictKeyError: 'moved-page-new-parent' (2 additional frame(s) were not displayed) ... File "django/core/handlers/base.py", line 113, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) 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/manager/views.py", line 873, in page_order if request.GET['moved-page-new-parent']: File "django/utils/datastructures.py", line 80, in __getitem__ raise MultiValueDictKeyError(key)
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Fichier 0001-manager-fix-page-reorder-with-missing-param-63650.patch 0001-manager-fix-page-reorder-with-missing-param-63650.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Lauréline Guérin
- Patch proposed changé de Non à Oui
patch naïf: je ne vois pas comment cette url a pu être appelée, vu le code js qui fait cet appel
Mis à jour par Frédéric Péters il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
Moi non plus aucune idée js de comment ça peut arriver :/
Mis à jour par Lauréline Guérin il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit fe50a2bc054f59f82c9e9a4ed37ca5df22542052 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Fri Apr 8 09:19:21 2022 +0200 manager: fix page reorder with missing param (#63650)
Mis à jour par Transition automatique il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
manager: fix page reorder with missing param (#63650)