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

On virtual instance there isn't Page template after import the lar and there is error in console

    Details

    • Quality Gate:
      Gauntlet Test Analysis

      Description

      Step to reproduce:

      1. Create a virtual instance
      2. go to global site > Page template > Add new template > add some portlet to the template
      3. go to Publishing > export LAR
      4. delete new Page template
      5. go to Publishing > import LAR

      Expect result: There is new Page template
      Actual result: There isn't new Page template

        [parallel] 07:21:25,618 ERROR [http-nio-8080-exec-6][IncludeTag:128] Current URL /group/global/~/control_panel/manage?p_p_id=com_liferay_exportimport_web_portlet_ExportPortlet generates exception: null
       [parallel] java.lang.NullPointerException
       [parallel] at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
       [parallel] at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:190)
       [parallel] at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79)
       [parallel] at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
       [parallel] at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:407)
       [parallel] at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:383)
       [parallel] at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:217)
       [parallel] at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:88)
       [parallel] at org.apache.jsp.export.processes_005flist.view_jsp._jspService(view_jsp:392)
       [parallel] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
       [parallel] at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
       [parallel] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
       [parallel] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
       [parallel] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
       [parallel] at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
       [parallel] at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:368)
       [parallel] at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:380)
       [parallel] at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
       [parallel] at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
       [parallel] at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
      

      Note: The issue just can be reproduced on virtual instance. It can not be reproduced on loaclhost 8080

      LocalFile.WidgetPageTemplates#ImportLAR

      7.3.x upstream testray link

        Attachments

        1. error.png
          error.png
          1.18 MB
        2. fixed.png
          fixed.png
          1.25 MB
        3. Screenshot 2021-04-19 at 10.11.39 (2).png
          Screenshot 2021-04-19 at 10.11.39 (2).png
          195 kB

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              melody.wu Melody Wu
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Tamas Molnar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                20 weeks ago

                  Packages

                  Version Package
                  7.3.7 CE GA8
                  7.3.10 DXP FP2
                  7.3.X