Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-34977

DDM - Embedded Fields Lose information and are not accounted for in Templates

    Details

    • Fix Priority:
      4

      Description

      Steps to reproduce:

      1. Create a Structure with a Text field (named "text") embedded into a Text Box field (named "text_box")
      2. Create a new Template for the Structure, adding the following:
        • ${text_box.getData()}
          ${text_box.getChild("text").getData()}
          
          • (User will only see Template editor help for the Text Box field, nevermind this for now--just add the lines above)
      3. Add a new piece of Web Content using the Structure and Template created above, adding something unique into each field. When publishing the new content also notice that the information from the embedded Text Box field doesn't show when clicking into the WC article.

      I am providing a Web Content portlet LAR for quickly creating the Structure and Template with embedded fields.

      Note: This issue also occurs in the embedded fields for Dynamic Data Lists. There is no workaround for losing embedded field data, so I'm marking this as a Major bug.

        Attachments

        1. embedded_template_ddl.vm.txt
          0.4 kB
        2. embedded.vm.txt
          0.1 kB
        3. embedded.xml
          0.8 kB
        4. StuctureEmbeddedFields.portlet.lar
          4 kB

          Issue Links

            Activity

              People

              Assignee:
              brian.wulbern Brian Wulbern
              Reporter:
              jamie.sammons1 Jamie Sammons
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 30 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.0 CE B2