Projet

Général

Profil

Actions

Anomalie #6153

fermé

Layout: Problème interprétation du IF suivi de BLOCK

Ajouté par Éric Brison il y a environ 10 ans. Mis à jour il y a environ 10 ans.

Statut:
Intégré
Priorité:
Normal
Assigné à:
Version cible:
Début:
16/02/2016
Echéance:
% réalisé:

100%

Temps estimé:
Version source:
Solution proposée:
Principaux fichiers impactés:
Complexité:
Contrôle:
Thème:
Socle technique
Régression:
Non

Description

Dans le cas suivant TOTO2 n'est pas interprété.

    [IF TOTO1]
       <select name="_MSK_NEEDEEDS[[neweltid]]"  >
           [BLOCK [SELECTNEED]]
           <option VALUE="[needid]" [selectedneed]>[needlabel]</option>
       [ENDBLOCK [SELECTNEED]]
   </select>
    [ENDIF TOTO1]

    [IFNOT TOTO2]
       <input type="hidden" name="_MSK_NEEDEEDS[[neweltid]]"/>
    [ENDIF TOTO2]

Cela provient du fait que le contexte du IF n'est pas restauré après l'exécution d'un sous-block.

Mis à jour par Éric Brison il y a environ 10 ans

  • Sujet changé de Layout: Problème interprétation du IF suivit de BLOCK à Layout: Problème interprétation du IF suivi de BLOCK

Mis à jour par Éric Brison il y a environ 10 ans

  • Statut changé de Assigné à Intégré
  • % réalisé changé de 60 à 100

Appliqué par commit commit:dynacase-core|adaef28cfa7e32d44b6e8c266e2e75644c119570.

Actions

Formats disponibles : Atom PDF