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

Wrong redirect on display page when using en-GB locale with a language selector

    Details

      Description

      Reproduction steps:

      1.) Start the system and in Instance Settings add en-GB to the available languages.

      2.) Create a new site and make the following:

      • add a vitualhost ‘test.test.com’ (add this to your HOST file as well)
      • in your new site make German the default language and have in the list German + English-United-Kingdom.

      3.) Create page1 and add an Asset Publisher with the option (Set as the Default Asset Publisher for This Page ).

      4.) Add a language selector to the page.

      5.) Create a new web content with the following:

      German version: title → test1 content → test1 summary → test1, add your page as display-page and to the URL-title add 'test1'

      En-GB version: title → test1EN content → test1EN summary → test1En, add your page as display-page and to the URL-title add 'test1en'

      • save the article.

      6.) By actually clicking the web content you will see in the URL

      Checkpoint: This is when you see the German version of the URL.

      7.) Use the language selector to change the language to en-GB.

      Checkpoint: This is when you see the en-GB version of the URL.

      8.) Now with the language selector change back to German.

      Actual Result: You will be directed to http://test.test.com:8080/page1/-/test1

      Expected Result:  You should be directed to http://test.test.com:8080/-/test1

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            attila.bakay Attila Bakay
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Engineering Assignee:
            Attila Bakay
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              19 weeks ago

                Packages

                Version Package
                7.2.10 DXP FP14
                7.2.10.5 DXP SP5
                7.2.X
                7.3.X
                7.4.1 CE GA2 DXP 7,4
                Master