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

Content of a default web content article is not properly added to translations

    Details

    • Story Points:
      1
    • Fix Priority:
      4

      Description

      Field values do not propagate correctly from default translation to translation when elements are added out of order.

      NOTE: Order and precision of steps is important to reproduce this issue.

      Steps to Reproduce

      1. Add a structure with a repeatable text field.
      2. Add a template associated with the structure from step 1.
      3. Add a web content article based off the structure from step 1. Click the button on the text field to add a second text field, fill in both fields with content that will be easy to keep track of the order (i.e. 'Element 1', 'Element 2'). Publish the web content article.
      4. Add a translation for the web content article (Assert that the field values match those of the default translation). Save the translation and publish the default translation.
      5. Edit the default translation. Click the button on the second text field to add a third text field. Fill in the field with 'Element 3' and publish the web content article.
      6. Navigate to the translation and assert that the third text field has been added and the text field value matches that of the default translation.
      7. Edit the default translation. Click the button of the first text field to add a fourth text field (although it will be second in the order), fill in the field with 'Element 4' and publish the web content article.
      8. Navigate to the translation and assert that the fourth text field added (second in order) does not have the same value as the default translation, and fields below are also wrong.

      Expected Results: The value of the fourth text field added (second in order) on the web content article translation is the same as the value on the default translation. All field values on the translation should match up with the default translation.

      Actual Results: The field values on the translation do not match up with the field values on the default translation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              Reporter:
              dustin.ryerson Dustin Ryerson (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 10 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.X EE
                  Master