Project

General

Profile

Anomalie #1197

Une variable obligatoire peut être renvoyée vide

Added by Gaston TJEBBES over 12 years ago. Updated over 11 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Gwenael Remond
Category:
-
Start date:
11/18/2010
Due date:
% Done:

100%

Distribution:

Description

Lorsqu'une variable est obligatoire et renseignée, creole la renvoie, vide, au moment de la templatisation lorsqu'elle est cachée par une directive hidden_if.

Sur Scribe :
  • si la variable adresse_ip_sso est différente de la adresse_ip_eth0;
  • la variable ldap_sso est bien renseignée avec sa valeur par défaut dans le fichier .eol à l'enregistrement;
  • au moment de la templatisation, la variable ldap_sso est bien renvoyée mais vide.

Related issues

Related to conf-scribe - Anomalie #1198: Erreur au reconfigure lors de la templatisation du fichier ldap.inc.php.tmpl Fermé 11/18/2010

Associated revisions

Revision fa45693e (diff)
Added by Walid Nouh about 14 years ago

see #1197 Clean plugin hook system : use convention name for functions (first try)

Revision e9964527 (diff)
Added by Walid Nouh about 14 years ago

see #1197 revert last commit

Revision f3cbd4bd (diff)
Added by Emmanuel Garette over 11 years ago

comportement identique entre ParseDico et les templates pour les variables multi caché (fixes #1197)

Revision b23b2d25 (diff)
Added by Johan Cwiklinski about 6 years ago

Duplicated main tab on some views; fixes #1197 (#1599)

On classical and splitted views, the main tab
is always displayed, we do not need to display it
again on "all" tab

Revision 09ccfaf4 (diff)
Added by Johan Cwiklinski about 6 years ago

Duplicated main tab on some views; fixes #1197 (#1599)

On classical and splitted views, the main tab
is always displayed, we do not need to display it
again on "all" tab

History

#1 Updated by Emmanuel GARETTE over 11 years ago

On n'a pas la même valeur avec ParseDico que dans les templates :

root@amonecole:~# . ParseDico
root@amonecole:~# echo $eolesso_ldap
localhost

root@amonecole:~# cat template
%%eolesso_ldap
root@amonecole:~# /usr/share/creole/creolecat.py template -o file
root@amonecole:~# cat file
[]

#2 Updated by Emmanuel GARETTE over 11 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat over 11 years ago

  • Assigned To set to Gwenael Remond
  • Target version set to Mises à jour 2.3 - 01 Stable

#4 Updated by Joël Cuissinat over 11 years ago

Branche prestable23
Paquet candidat : creole-2.3-eole168~14.gbpe427d7

#5 Updated by Joël Cuissinat over 11 years ago

  • Status changed from Résolu to Fermé

Ok avec le paquet updates : creole 2.3-eole169

root@etab:~# cat file
[localhost]

Also available in: Atom PDF