Projet

Général

Profil

Bug #20721

crash quand on essaie de valider [for] dans un champ calculé

Ajouté par Frédéric Péters il y a plus de 6 ans. Mis à jour il y a plus de 2 ans.

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

Révision 74f6f5a0 (diff)
Ajouté par Frédéric Péters il y a plus de 2 ans

misc: don't break on incomplete ezt "for" expression (#20721)

Historique

#1

Mis à jour par Frédéric Péters il y a plus de 2 ans

#2

Mis à jour par Benjamin Dauvergne il y a plus de 2 ans

  • Statut changé de Solution proposée à Solution validée
#3

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

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

Formats disponibles : Atom PDF