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

Restoring a content from a folder throws a console error

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 CE GA1
    • Fix Version/s: 7.0.0 CE GA1
    • Component/s: ~[Archived] WCM
    • Labels:

      Description

      Steps to reproduce:

      1. Add a wc folder
      2. Inside the folder add a WC article
      3. Move the folder to the recycle bin
      4. Go to recycle bin and into the folder
      5. Restore the RB and assert the console errors:
        20:34:48,100 ERROR [http-nio-8080-exec-1][IncludeTag:128] Current URL /group/test-site/~/control_panel/manage/-/recycle_bin/entries?p_p_lifecycle=1&_com_liferay_trash_web_portlet_TrashPortlet_javax.portlet.action=moveEntry generates exception: java.lang.NullPointerException
        java.lang.NullPointerException
        	at com.liferay.trash.web.display.context.TrashDisplayContext.getTrashRenderer(TrashDisplayContext.java:194)
        	at org.apache.jsp.info_005fpanel_jsp._jspService(info_005fpanel_jsp:768)
        	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        	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:729)
        	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:374)
        	at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:385)
        	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$JspServletWrapper.service(ServletContextHelperRegistrationImpl.java:471)
        	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
        	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
        	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$RestrictPortletServletRequestFilter.doFilter(ServletContextHelperRegistrationImpl.java:506)
        	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
        	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
        	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:71)
        	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:103)
        	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
        	at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
        
        

        Attachments

          Activity

            People

            • Assignee:
              evan.nagayama Evan Nagayama (Inactive)
              Reporter:
              evan.nagayama Evan Nagayama (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 20 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 CE GA1