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

    Details

    • Type: Regression Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.2.X, Master
    • Fix Version/s: None
    • Labels:
    • Fix Priority:
      3

      Description

      Description
      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              kyle.miho Kyle Miho
              Participants of an Issue:
              Recent user:
              Liferay JIRA Bot
              Engineering Assignee:
              Hai Yu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                14 weeks, 5 days ago

                  Packages

                  Version Package