Project

General

Profile

Anomalie #6030

CreoleLint : pas de support des variables dans un callback

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

Si une variable est présente dans un callback mais pas présente dans un dictionnaire, CreoleLint ne charge pas la valeur donc il plante au moment du calcul.

Il faudrait également charger les valeurs des callbacks.


Related issues

Related to zephir-client - Anomalie #6027: getVar eronné dans 00_root_zephirclient.fw Fermé 09/16/2013 09/20/2013

Associated revisions

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 Joël Cuissinat about 10 years ago

  • Due date set to 09/20/2013

OK

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

  • Status changed from Résolu to Fermé

Also available in: Atom PDF