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

Removing the friendly URL locale does not render the current page in the current user's preferred locale


    • 3
    • Regression Bug


      According to the Locales Test Plan (linked in comments for Liferay Staff), removing the Friendly URL that specifies a locale, should end up rendering the page in the current user's preferred locale instead of the last used friendlyURL locale. However, currently doing so will retain the last friendlyURL locale

      Steps to Reproduce

      1. Create a site with default language as English
      2. Add Chinese and Spanish to the Current column when configuring site languages
      3. Create a user with the preferred language of Chinese
      4. Add user as a member of the created site
      5. Log in as the created user
      6. Navigate to the site
      7. Assert site is displayed in the user's preferred language
      8. Change the site to use es_ES as its locale through the friendlyURL
      9. Assert site displays in Spanish
      10. Remove the locale from the friendlyURL

      Expected Result
      Assert site displays in the user's preferred locale

      Actual Result
      Site displays in es_ES locale

      Tested on Tomcat 9.0.17 + MySQL 5.7
      Portal master GIT ID: 22cde9ad7563e8696feb1e27b1c1c6367098ddfb


        Issue Links



              support-lep@liferay.com SE Support
              kyle.miho Kyle Miho
              Marta Elicegui Marta Elicegui
              Hai Yu Hai Yu
              0 Vote for this issue
              2 Start watching this issue


                1 year, 15 weeks, 6 days ago


                  Version Package