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

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

    Details

      Description

      Description of issue:
      Customer reports that when adding new translations to repeatable fields in a piece of web content, the order of the fields are getting changed.

      Steps to Reproduce:
      1. Go to Content & Data > Web Content, click on the Structures tab
      2. Create a Structure with a Text Box configured to be Repeatable, Save it
      3. Click "Manage Templates" from the ellipses on the Structure
      4. Create a Template and click under Fields "Text Box*" then Save
      5. Go to a page and add a Web Content Display portlet
      6. Create a new Web Content based on the new Structure
      7. Click the + twice so there are now 3 Text boxes. In the first box, type "First"; in the second, type "Second"; and in the third; type "Third"; then Publish it
      8. View the Web Content on the page - it should read "First Second Third"
      9. Edit the Web Content
      10. Set the Language to French; in the second box, change the content from "Second" to "Second (French)"
      11. Set the Language to German; in the third box, change the content from "Third" to "Third (German)"
      12. Publish the Web Content
      13. View the Web Content on the page - it should still read "First Second Third"
      14. Change the locale to French language by adding "/fr" directly after the port number
      15. View the Web Content on the page:
      Expected: It should read "First Second (French) Third"
      Actual: It reads "Second (French) Second Third"
      16. Change the locale to German language by changing "/fr" to "/de"
      17. View the Web Content on the page:
      Expected: It should read "First Second Third (German)"
      Actual: It reads "Third (German) Second Third"
      18. Change the locale back to English language (default) by changing "/de" to "/en"
      19. Edit the Web Content again
      20. Click the + to add a fourth Text box below the third box. In the fourth (new) box, type "Fourth"
      21. Set the Language to Spanish; in the fourth box, change the content from "Fourth" to "Fourth (Spanish)"
      22. Publish the Web Content
      23. View the Web Content on the page - it should now read "First Second Third Fourth"
      24. Change the locale to Spanish language by changing "/en" to "/es"
      25. View the Web Content on the page:
      Expected: It should read "First Second Third Fourth (Spanish)"
      Actual: It reads "Third Fourth (Spanish) Third Fourth"

        Attachments

        1. Failed.PNG
          Failed.PNG
          143 kB
        2. Issue.gif
          Issue.gif
          3.26 MB
        3. LPS-104222.png
          LPS-104222.png
          37 kB

          Issue Links

            Activity

              People

              • Assignee:
                harry.chai Harry Chai
                Reporter:
                joshua.cords Joshua Cords
                Participants of an Issue:
                Recent user:
                Mariano Álvaro
                Engineering Assignee:
                Joshua Cords
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  26 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.10 DXP FP4
                  7.2.X
                  7.3.0 CE GA1
                  Master