Bug #20721
crash quand on essaie de valider [for] dans un champ calculé
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
14 décembre 2017
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
…/api/validate-expression?expression=[for]
Exception: type = '<type 'exceptions.IndexError'>', value = 'list index out of range' Stack trace (most recent call first): File "/usr/lib/python2.7/dist-packages/wcs/qommon/ezt.py", line 408, in _parse 406 ### this assumes arg1 is always a ref unless cmd is 'define' 407 if cmd != 'define': > 408 args[1] = _prepare_ref(args[1], for_names, file_args) 409 410 # handle arg2 for the 'is' command
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus de 2 ans
- Fichier 0001-misc-don-t-break-on-incomplete-ezt-for-expression-20.patch 0001-misc-don-t-break-on-incomplete-ezt-for-expression-20.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
- Planning mis à Non
Mis à jour par Benjamin Dauvergne il y a plus de 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a plus de 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 74f6f5a014d04b459580f17a9641b711080befc3 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Sun Oct 24 15:24:56 2021 +0200 misc: don't break on incomplete ezt "for" expression (#20721)
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: don't break on incomplete ezt "for" expression (#20721)