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

Control Panel not being displayed when selecting locale with "-" in the URL

    Details

      Description

      After the change added by the issue https://issues.liferay.com/browse/LPS-78738 , when selecting a language that makes the URL to include a locale with a "-", like for example "en-GB", this breaks the Control Panel.

      Steps to reproduce:

      1. Set this property in portal-ext.properties: locale.prepend.friendly.url.style=2
      2. Set this property in portal-ext.properties: locales.enabled=en_US,en_GB,nl_NL,nl_BE
      3. Add a Language Selector widget to any page of a site
      4. Select british english or belgian nederlands
      5. Click on the menu link to access the Control Panel

      Actual result:
      The Control Panel is broken.

      Expected result:
      The Control Panel is displayed as usual.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 week, 4 days ago