Project

General

Profile

Anomalie #4059

on perd la propriété multi d'une variable lors d'un redefine

Added by Fabrice Barconnière about 11 years ago. Updated almost 11 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
-
Category:
-
Start date:
09/13/2012
Due date:
% Done:

100%

Spent time:
Distribution:
EOLE 2.3

Description

Une variable multi redéfinie perd sa propriété multi.

Associated revisions

Revision 4165f4b2 (diff)
Added by Joël Cuissinat about 11 years ago

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

Revision 39d4aac2 (diff)
Added by Alexandre Delaunay over 5 years ago

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 :
  1. on ne fait rien
  2. on supprime la ligne (on considère que le caractère multi n'est pas redéfinissable)
  3. 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

#3 Updated by Fabrice Barconnière almost 11 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF