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

Links to Default Site Private Pages do not work if the user is on a non-default locale

    Details

      Description

      Steps to reproduce

      1. Set the following portal property: locale.prepend.friendly.url.style=1
      2. Create a page in the private scope of the default Site i.e. Liferay by default, e.g.: "/group/guest/hello".
      3. Go to this page - with the user, which is using default portal language (English by default). The page will be displayed correctly.
      4. Add a language portlet and set the language to French. The page will be correctly refreshed and displayed.
      5. Access the page directly via a link like this: "http://localhost:8080/group/guest/hello".
        Result: You will get an error, and the page will be redirected to the following page: http://localhost:8080/fr/hello. The 'group/guest' string is missing in the URL

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 35 weeks, 2 days ago

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.X EE
                  6.2.1 CE GA2
                  6.2.X EE
                  7.0.0 M1