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

If locale.prepend.friendly.url.style=0 is set then url parameters and redirects are overridden by layout's url

    Details

      Description

      If a user changes language when an article is displayed in Asset Publisher, the friendlyurl part started with /-/ will be removed from the url during reload of the page.

      Steps to reproduce:
      1) Add Language portlet to a page
      2) Add Asset Publisher to the same page
      3) Add Web Content from the Asset Publisher
      4) Click read more... under the article in Asset Publisher
      5) Check URL in the address bar (will be something like this: http://localhost:8080/web/guest/home/-/asset_publisher/hgIgB4rl2N3V/content/asdfasd...)
      6) Click on different language's flag in Language portlet
      7) Check URL in the address bar again (will be http://localhost:8080/web/guest/home)

      Expected behaviour the URL should be the same.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              charles.austin Charles Austin
              Reporter:
              vilmos.papp Vilmos Papp
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 1 week, 2 days ago

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2