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

Friendly URL does not match its page name after the available language is removed.

Details

    Description

      Steps to reproduce:

      1. Create a site SiteA.
      2. Create a page PageA with a particular locale (I used China).
      3. Set the name and friendly url of this page.
        Name Friendly URL
        PageA /pagea
        PageAcn /pageacn
      4. Create a user usera and assign it to SiteA.
      5. Change display language to Chinese for usera.
      6. Log in with usera.
      7. Click My Sites > SiteA.
      8. User is redirected to PageAcn, the URL is like http://localhost:8080/zh/web/sitea/pageacn.
      9. Remove the available language Chinese for SiteA.
      10. Go to SiteA again with usera.

      Expected result:
      User is redirected to PageA, the URL is like http://localhost:8080/en/web/sitea/pagea.

      Actual result:
      User is redirected to PageA, but the URL is like http://localhost:8080/zh/web/sitea/pageacn.

      Attachments

        Issue Links

          Activity

            People

              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 36 weeks, 3 days ago

                Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M2