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

Viewing web content in HTML format causes the content of other tabs (Default or Localized Language) to be overwritten

    Details

      Description

      Description:

      Inputting text into the Default Languages Content and in the Localized Languages Content, then enabling HTML viewing and then toggling to another Language; causes the new Languages content box to be replaced with the initial's content.

      I tested this from English (Default) to Spanish (Localized) and Spanish (Localized) to English (Default) and both times the first's Content replaced the second's when I enabled HTML viewing of the first's content then toggled to the seconds.

      Steps to reproduce:

      1) Create a web content article with a content "Hello world".
      2) Create a localization, for example, Spanish. Create a localized content in the content box "Hola" and save the article.
      3) Edit the article and ensure that the localized content works.
      4) Click on the "script" editor button to change to viewing the HTML content.
      5) Click on the localization.

      Results of Testing:

      Expected: The localized content is shown in the script editor.

      Actual results: The localized content is not shown, and the English content is still showing.

      Branch:

      Reproduced: 1403b918fbe4be0bde83b560e20c9b81b3cfd6c7:80

      Master:

      Reproduced: b80e538ca3a1c47ac2278bd0e9bd97d5ebe96812

        Attachments

          Activity

            People

            Assignee:
            hong.zhao Hong Zhao (Inactive)
            Reporter:
            christopher.kian Christopher Kian
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 32 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 DXP FP14
                7.0.0 DXP SP3
                7.0.3 CE GA4
                7.0.X EE
                7.1.X
                Master