Anomalie #4059
on perd la propriété multi d'une variable lors d'un redefine
Status:
Fermé
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Distribution:
EOLE 2.3
Description
Une variable multi redéfinie perd sa propriété multi.
Associated revisions
L'attribut "multi" n'est pas redéfinissable
- creole/cfgparser.py : suppression de la ligne en cause
- tests : ajout de tests unitaires pour valider
FIXES #4059 @20m
fix network label; fix #4059
History
#1 Updated by Joël Cuissinat about 11 years ago
- Status changed from Nouveau to En attente d'informations
cfgparser.py, ligne 361 :
self.variables[key].multi = new_variables[key]['multi']je vois 3 solutions :
- on ne fait rien
- on supprime la ligne (on considère que le caractère multi n'est pas redéfinissable)
- on modifie le parseur (lxml_parser.py) afin que la valeur par défaut soit "" ou None et pas False !
Nb : problématique similaire pour le hidden sauf qu'en général on veut soit modifier cet attribut soit celui-ci est géré par un hidden.
#2 Updated by Joël Cuissinat about 11 years ago
- Status changed from En attente d'informations to Résolu
- % Done changed from 0 to 100
Appliqué par commit 4165f4b299dec425444065af4038831489cd3e59.
#3 Updated by Fabrice Barconnière almost 11 years ago
- Status changed from Résolu to Fermé