Bug #57439
IndexError: list index out of range
Début:
30 septembre 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/52467/
IndexError: list index out of range (18 additional frame(s) were not displayed) ... File "wcs/qommon/substitution.py", line 225, in get_path return self.get_path(value, rest) File "wcs/qommon/substitution.py", line 222, in get_path value = resolve(path[:i]) File "wcs/qommon/substitution.py", line 210, in resolve return base[key] File "wcs/variables.py", line 616, in __getitem__ return getattr(self, key) File "wcs/variables.py", line 516, in role role_id = role_id[0]
Fichiers
Révisions associées
Historique
Mis à jour par Emmanuel Cazenave il y a plus de 2 ans
Je ne trouve qu'une seule demande dans cet état "étrange" avec une liste vide dans comme valeur associée à '_receiver', aucune idée de comment on en arrive là.
Mis à jour par Emmanuel Cazenave il y a plus de 2 ans
Et Sguiet me dit que ça a un rapport avec ça #57380, mais j'imagine qu'on s'en fout un peu, qu'on veut pas faire une erreur 500 dans cette situation et voilà.
Mis à jour par Emmanuel Cazenave il y a plus de 2 ans
- Statut changé de Nouveau à En cours
- Assigné à mis à Emmanuel Cazenave
Mis à jour par Emmanuel Cazenave il y a plus de 2 ans
- Fichier 0001-misc-ignore-empty-functions-in-formdata-57439.patch 0001-misc-ignore-empty-functions-in-formdata-57439.patch ajouté
- Statut changé de En cours à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a plus de 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Emmanuel Cazenave il y a plus de 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit de0e99b0c18927e3107a772f49a56f54bd9485d2 Author: Emmanuel Cazenave <ecazenave@entrouvert.com> Date: Thu Sep 30 16:11:41 2021 +0200 misc: ignore empty functions in formdata (#57439)
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
misc: ignore empty functions in formdata (#57439)