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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 31 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 CE RC1
                  Master