Project

General

Profile

Anomalie #6027

getVar eronné dans 00_root_zephirclient.fw

Added by Emmanuel GARETTE about 10 years ago. Updated about 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
09/16/2013
Due date:
09/20/2013
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

Il y a des "%%" en trop dans le getVar :

%if %%getVar('%%admin_eth2', 'non') == 'oui'

Related issues

Related to creole - Anomalie #6030: CreoleLint : pas de support des variables dans un callback Fermé 09/16/2013 09/20/2013

Associated revisions

Revision 19fca940 (diff)
Added by Emmanuel GARETTE about 10 years ago

le nom de la variable est 'admin_eth2' et non '%%admin_eth2' (fixes #6027 @30min)

Revision 57d69315 (diff)
Added by Emmanuel GARETTE about 10 years ago

creole/lint/parsetemplate.py :

- detection des variables getVar avec "%%" (ref #6027)
- récupération des variables dans les callbacks
fixes #6030 @2h

History

#1 Updated by Emmanuel GARETTE about 10 years ago

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

#2 Updated by Emmanuel GARETTE about 10 years ago

  • Start date set to 09/16/2013

#3 Updated by Joël Cuissinat about 10 years ago

  • Due date set to 09/20/2013
  • Status changed from Résolu to Fermé

OK dans zephir-client_2.4.0-5_all.deb

Also available in: Atom PDF