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

Repeatable fields loses translation values during portal upgrade if they are not localizable

    Details

      Description

      Steps to reproduce:

      1. Start an instance of the 6.1 version of the portal
      2. Click "Go to" > "Control Panel"
      3. Go to "Web Content" > "Structures" > "Add"
      4. Create a structure with one repeatable text field and save it
      5. Go to "Templates" > "Add"
      6. Create a template for the new structure
      7. Go to "Web Content" > "Add" > "<new-structure>"
      8. Make 4 copies of the text field and fill them with "A", "B", "C" and "D"
      9. Check the "Localizable" checkbox under the first and third fields
      10. Save the article and edit it to add a translation
      11. Stop the portal and start a 6.2 version
      12. Go to "Admin" > "Content" and open the article created before
      13. Check the values in the translation

      Expected result:

      • The values should be the same as they were in the 6.1 portal

      Actual result:

      • The translation for "C" appears in the place where the translation for "B" should be
      • Two fields doesn't have values

        Attachments

        1. 6.1 translation screen.png
          45 kB
          Pablo Carvalho
        2. 6.2 translation screen.png
          40 kB
          Pablo Carvalho
        3. 61ee-master.png
          42 kB
          Lori Liu

          Issue Links

            Activity

              People

              Assignee:
              lori.liu Lori Liu (Inactive)
              Reporter:
              pablo.carvalho Pablo Carvalho (Inactive)
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 36 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 CE RC1
                  Master