Tâche #18968
Scénario #18693: Traitement express MEN (4-6)
creoled ne renvoie pas le nom de variable si il rencontre une erreur sur un redefine
Remaining (hours):
0.0
Associated revisions
Donner plus d’informations sur le contexte de l’erreur.
Actuellement, l’attribut redefine n’est pas accepté en combinaison avec
les paramètres type et mult. L’erreur ne concerne donc que les balises
variables.
Le type de balise (variable) et la valeur de l’attribut name sont fournis dans le
message d’erreur pour faciliter la localisation de la balise à corriger.
Ref #18968
Mise à jour des traductions
Ref: #18968 @2h
Modification du msg d'erreur + maj traduction
Ref: #18968
History
#1 Updated by Thierry Bertrand over 6 years ago
sur un esbl 2.6.1a1, impossible de lancer de gen_config
>>> from creole.loader import creole_loader >>> creole_loader(load_extra=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/creole/loader.py", line 731, in creole_loader eolobj.create_or_populate_from_xml('creole', dirs) File "/usr/lib/python2.7/dist-packages/creole/objspace.py", line 430, in create_or_populate_from_xml raise err creole.error.CreoleDictConsistencyError: cannot redefine attribut type
grep redefine /usr/share/eole/creole/dicos/*|grep type /usr/share/eole/creole/dicos/local/usr/share/eole/creole/dicos/20_psin.xml: <variable name='ssh_allow_groups' type='string' description="Autoriser les connexions ssh pour les groupes" redefine='True'> /usr/share/eole/creole/dicos/70_esbl.xml: <variable name='activer_sso' type='string' redefine='True' description='Utiliser un serveur SSO'>
#2 Updated by Emmanuel GARETTE over 6 years ago
- Estimated time set to 1.00 h
- Parent task changed from #18373 to #18752
- Remaining (hours) set to 1.0
#3 Updated by Thierry Bertrand over 6 years ago
- Parent task changed from #18752 to #18693
#4 Updated by Benjamin Bohard over 6 years ago
- Status changed from Nouveau to En cours
#5 Updated by Benjamin Bohard over 6 years ago
- Assigned To set to Benjamin Bohard
#6 Updated by Benjamin Bohard over 6 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
- Remaining (hours) changed from 1.0 to 0.25
#7 Updated by Joël Cuissinat over 6 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0
Testé OK => cannot redefine attribut type for variable activer_sso
#8 Updated by Joël Cuissinat over 6 years ago
Après une nouvelle correction, le message est : impossible de redéfinir l'attribut type pour la variable activer_sso