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

Adding repeatable text fields show incorrect translation on label

    Details

      Description

      Steps to reproduce:

      1. Start Liferay and log in as Admin
      2. Go to Content > Web Content > Structures
      3. Create a new Web Content Structure with a text field
      4. As the title of the text field specify "English"
      5. Change the field to Repeatable
      6. Save the Structure
      7. Edit the structure again and add a German Translation
      8. Add "German" as the title of the German text field
      9. Save the structure
      10. Create a template for the structure
      11. Go back to Web Contents and create a new web content based on the Structure
      12. Save the Web Content
      13. Edit the Web Content and click on Add translation > German
      14. The German text will appear for the text field's title
      15. Click "+" button to add more text fields

       Actual behavior: The new text field's title will be English instead of German. If you save the Web Content and open the German translation again, the fields' titles are German correctly.
       Expected behavior: The new text field should be German.

      Also tested on:
       7.0.x @445ecc31b2fe4daa2b253bb0dcbb4e0dad77414d -> When you switch to the German translation in step 13, all the fields are english from the beginning.
       7.1.x  fc44b0e7249a1d328b674e8989c8e4170e68600b: same behaviour as 7.0.x
       Master @912d7fabf61a8603d8ad67c716400ddda33b3cfb -> The original issue is seen.

        Attachments

        1. Failed.gif
          Failed.gif
          188 kB
        2. Failed.PNG
          Failed.PNG
          35 kB
        3. Fixed.PNG
          Fixed.PNG
          39 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 4 weeks ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.10 DXP FP1
                  7.2.X
                  7.2.1 CE GA2
                  Master