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

Adding Translations to Nested Repeatable Fields in Web Content Changes Order of Fields

    Details

      Description

      Description of issue:
      When adding new translations to nested repeatable fields in a piece of web content, the order of the fields are getting changed.

      Steps to Reproduce:

      1. Create a new web content structure with the attachedĀ LPS-107582_Structure.json
      2. Create a new template for the structure with the attached LPS-107582_template.ftl
      3. Add a web content portlet to a page, add an article of the new structure type
      4. Add two new "elements" so that 3 content fields are available
      5. Add the values 1, 2, 3 in the content fields and publish
      6. View the article on the page, it shows:
        1
        2
        3
      7. Edit the article. Add a french translation by adding the text "fr" to the 2nd content field. Add a german translation by adding the text "de" to the 3rd content field.
      8. Publish and view the article in French by adding /fr to the html after the port number
        Expected Result: The article shows
        1
        2 fr
        3
        Actual result: The article shows
        2 fr
        2
        3
      9. View the article in German by adding /de
        Expected Result: The article shows
        1
        2 fr
        3 de
        Actual result: The article shows
        2 fr
        3 de
        3

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                calvin.vo Calvin Vo
                Reporter:
                joshua.cords Joshua Cords
                Participants of an Issue:
                Recent user:
                Jason Pince
                Engineering Assignee:
                Joshua Cords
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 weeks, 2 days ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.X
                  7.3.0 CE GA1
                  7.3.1 CE GA2
                  Master