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

Display page from 7.1 shows up in page administration menu as "Asset display Page"

    Details

      Description

      Steps to reproduce:

      1. Start liferay 7.1.10 dxp 
      2. Add a display page with editable fragments
      3. Map the fragments to a basic web content
      4. View the web content through the display page in 7.1 by using the friendly URL
      5. Close the portal, upgrade, and start master
      6. Go to Site Builder > Pages

      Expected result:

      Display page is not visible or viewable in page administration

      Actual result:

      Display page is visible through the page administration page and when you click on the kebab ellipsis to view there is an error in the console log and the site goes blank:

      2019-05-02 22:33:02.962 ERROR [http-nio-8080-exec-9][IncludeTag:128] Current URL /web/guest/asset-display-page?p_l_back_url=%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_layout_admin_web_portlet_GroupPagesPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_v_l_s_g_id%3D20126%26p_p_auth%3DhipSK4yQ generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
      at com.liferay.layout.type.controller.display.page.internal.product.navigation.control.menu.EditDisplayPageMenuProductNavigationControlMenuEntry.isShow(EditDisplayPageMenuProductNavigationControlMenuEntry.java:115)
      at com.liferay.product.navigation.control.menu.internal.util.ProductNavigationControlMenuEntryRegistryImpl.lambda$getProductNavigationControlMenuEntries$0(ProductNavigationControlMenuEntryRegistryImpl.java:85)
      at com.liferay.portal.kernel.util.ListUtil.filter(ListUtil.java:138)
      at com.liferay.portal.kernel.util.ListUtil.filter(ListUtil.java:149)
      at com.liferay.product.navigation.control.menu.internal.util.ProductNavigationControlMenuEntryRegistryImpl.getProductNavigationControlMenuEntries(ProductNavigationControlMenuEntryRegistryImpl.java:81)
      at org.apache.jsp.control_005fmenu.page_jsp._jspService(page_jsp:169)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:321)
      at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:332)
      at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
      at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
      at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
      at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
      at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
      at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:202)
      

      The page can also be added to a navigation menu

      Reproduced on:

      Tomcat 9.0.17 + MySQL 5.7
      Tomcat 9.0.17 + Oracle 12.2

      Portal Master GIT Commit: d949b049c4e19eae1d07dfe0437d2b05a143f3ad

        Attachments

          Activity

            People

            Assignee:
            brooke.dalton Brooke Dalton
            Reporter:
            brooke.dalton Brooke Dalton
            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:
              2 years, 24 weeks, 5 days ago

                Packages

                Version Package
                Master