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

Quickly switching language in web content breaks the content of editor

    Details

      Description

      Description
      When you open a web content with several translations and an editor field, if you quickly change among the translations, the content in the editor is mixed up.

      Steps to reproduce

      • Although this issue is reproducible with all the editors, it depends on how quick you change translations, so we'd recommend you to set CKEditor in order to make easier the reproduction steps.

      0.- [Optional] To set CKEditor, set on you portal-ext.properties:
      editor.wysiwyg.default=ckeditor
      editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor

      1.- Start master
      2.- Go to Content > 'Web Content' and add a new basic Web Content with English content "en" and add a German translation "de".
      3.- Add a 'Web Content Display' portlet on a page and configure the web content created in Step 2 to be displayed.
      4.- Click on "Edit Web Content" button in the Web Content Display portlet. The overlay of Web Content edit view will be opened.
      5.- Before the content in the editor is rendered, click on the German translation button as quickly as possible.

      Expected Result
      All fields are in German.

      Actual Result
      Editor field remains in English, while the rest of fields are in German.

        Attachments

        1. Failed.gif
          Failed.gif
          445 kB
        2. Fixed.PNG
          Fixed.PNG
          33 kB

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.0.0 DXP FP42
                  7.0.6 CE GA7
                  7.0.0 DXP SP8
                  7.0.X
                  7.1.0 M2
                  7.1.X
                  Master