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

Using certain friendlyURLs such as /layout can cause errors when changing the friendlyURL the page

    Details

      Description

      After editing a page and changing the friendlyURL the portal is smart enough to detect the change in the friendlyURL and update any redirects which might have been passed from the JSP. But if the old friendly URL contains an string that is also part of a parameter value then incorrect replacement is done.

      Example steps to reproduce the issue:
      1) Create a page called "Layout"
      2) Go to the page and click "Manage > Page"
      3) Change the friendlyURL to something other than "/layout" (for example "/otherlayout") and click save
      Result: The pop up shows an empty area. The logs show:
      14:24:48,786 ERROR [PortletRequestProcessor:321] Invalid path was requested /otherlayouts_admin/edit_layouts
      Expected result: the form should be shown again in the pop-up with a success message.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              paul.piao Paul Piao (Inactive)
              Reporter:
              jorge.ferrer Jorge Ferrer
              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, 20 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2