Projet

Général

Profil

Bug #63650

MultiValueDictKeyError: 'moved-page-new-parent'

Ajouté par Sentry Io il y a environ 2 ans. Mis à jour il y a environ 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
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

Révision fe50a2bc (diff)
Ajouté par Lauréline Guérin il y a environ 2 ans

manager: fix page reorder with missing param (#63650)

Historique

#1

Mis à jour par Lauréline Guérin il y a environ 2 ans

  • Projet changé de Suivi des traces à Combo
#2

Mis à jour par Lauréline Guérin il y a environ 2 ans

patch naïf: je ne vois pas comment cette url a pu être appelée, vu le code js qui fait cet appel

#3

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 :/

#4

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)
#5

Mis à jour par Transition automatique il y a environ 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#6

Mis à jour par Transition automatique il y a presque 2 ans

Automatic expiration

Formats disponibles : Atom PDF