Details

    • Type: Regression Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 5.2.X EE, 6.0.12 EE, 6.1.0 CE RC1, 6.1.0 CE GA1, 6.1.1 CE GA2, 6.1.20 EE GA2
    • Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
    • Labels:
      None
    • Environment:
      Tomcat 6.0 + MySQL 5. Firefox 4.0.1. 5.2.x Revision 83112.
      Tomcat 6.0 + MySQL 5. Firefox 4.0.1. 6.0.x Revision 83110.
      Tomcat 6.0 + MySQL 5. Firefox 4.0.1. 6.1.x Revision 83110.
    • Branch Version/s:
      6.0.x, 5.2.x
    • Fix Priority:
      4

      Description

      When creating a content which has 2 levels depth, it is not possible to access to the second level.

      See attached a structure sample, and template sample. Result is here:

      {name=Detail_SousCompetence, data=

      Detail_SousCompetence1
      , type=text_area, options=[], Nom_Contact={name=Nom_Contact, data=Nom_Contact 1, type=text, options=[], Fonction_Contact=

      {name=Fonction_Contact, data=Fonction_Contact 1, type=text, options=[]}

      , Prenom_Contact=

      {name=Prenom_Contact, data=Prenom_Contact 1, type=text, options=[]}

      , Email_Contact=

      {name=Email_Contact, data=Email_Contact 1, type=text, options=[]}

      , Telephone_Contact=

      {name=Telephone_Contact, data=Telephone_Contact 1, type=text, options=[]}

      }}

      The Nom_Contact field is not an array, allthough it is a repeatable element in the structure.

      After som researches, I found out that the problem is localized here in the code :
      /portal-impl/src/com/liferay/portlet/journal/util/VelocityTemplateParser.java
      Line 75, the call to extractDynamicContents() returns only the first node instead on all children

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 15 weeks ago