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

If in a web content there is no value for default language then it will take the one from language display

    Details

      Description

      Description: If in a web content there is no value for default language then it will take the one existing from portal language display, this when changing the portal display language by adding to the URL for example /es/ to change to Spanish ().

      Steps

      1. Be sure you use CKEditor by adding these two props in your portal-ext.properties:
        editor.wysiwyg.default=ckeditor
        editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor
      2. Go to Content & Data -> Web content -> Create a new Basic Web Content
      3. Give a title "Title web content (en)" and not text in the default language
      4. Select Spanish language and give a text, for example "text (es)"
      5. Publish and open again the web content created at step 1
      6. On the URL add /es/ in front of, in order to change the language to Spanish

      Actual: The default language (en) value is now set up with the value from Spanish language text "text (es)" but it should be empty, same happens for other languages

      Expected: The default language (en) value should stay empty if we change the portal display language by adding /es/ (or another language) to the URL

      Note: Not sure with the same code I'm not able to reproduce on master, but on 7.2.x branch yes.

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            georgel.pop Georgel Vasile Pop
            Participants of an Issue:
            Recent user:
            Rafaela Nascimento
            Engineering Assignee:
            Georgel Vasile Pop
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.X
                7.1.10 DXP FP26
                7.1.10.7 SP7
                7.1.X
                7.2.10 DXP FP15
                7.2.X
                7.3.10.3 DXP SP3
                7.3.X
                7.4.2 CE GA3 DXP 7,4
                7.4.13 DXP GA1
                7.4.3.4 CE GA4
                Master