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

Visiting a non-existing page, redirection to 404 resource does not work properly

    Details

    • Fix Priority:
      3

      Description

      Steps to reproduce

      1. Set up property:
        layout.friendly.url.page.not.found=/web/guest/error
      2. Start the portal and login with the default user (admin)
      3. Create a 404 page with
        1. Friendly url
        2. Something that indicates 404 (e.g. a dummy article)
      4. Visit a non-existing page to assert that 404 redirection works:
        http://localhost:8080/web/guest/non-existing-page?p_p_id=com_liferay_login_web_portlet_LoginPortlet&p_p_lifecycle=0&p_p_state=maximized
        http://localhost:8080/web/guest/non-existing-page?p_p_id=com_liferay_portal_search_web_portlet_SearchPortlet&p_p_lifecycle=0&p_p_state=maximized

      Actual behavior: login and search portlet is displayed (respectively)
      Expected behavior: being redirected to 404 as the page does not exist

      Reproduced on
      7.0 EE de-39
      7.0.x commit ebe6b14deba852ce3798e5b52ab26be7ac98db6f
      Master commit 9f2cbbd236513332dca1ef619bca3dec6616a4c1

        Attachments

          Activity

            People

            Assignee:
            amadea.fejes Amadea Fejes (Inactive)
            Reporter:
            amadea.fejes Amadea Fejes (Inactive)
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 32 weeks, 3 days ago

                Packages

                Version Package