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

Calendar portlet is not working with staging activated

    Details

      Description

      Steps to reproduce:

      1. Create a new site and page
      2. Turn on Local Staging
      3. Keep the default settings for the Staged Content section (keep the Calendar option unchecked)
      4. Add a calendar portlet to the page
      5. Publish to live

      Expected Result: Calendar portlet works, adding new events and modifying its content is available

      Actual Result: An exception pops in the log every time the calendar portlet is being loaded (I mean adding it, publishing it, then switching back and forth between Staging and Live), modifications are not working.

      Tested:

       master @ commit (d596147e9d17cc9a809208584124df7849ad0c60) reproduced

      Exception:

      2018-04-24 08:34:30.521 ERROR [http-nio-8080-exec-5][IncludeTag:128] Current URL /web/testsite2-staging/publicpage1 generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at org.apache.jsp.view_005fcalendar_jsp._jspService(view_005fcalendar_jsp:1260)
              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:417)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.JspServlet.service(JspServlet.java:428)
              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:118)
              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.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
              at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:372)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:349)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:202)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:86)
      

       

        Attachments

          Activity

            People

            Assignee:
            harry.chai Harry Chai
            Reporter:
            vendel.toreki Vendel Töreki
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP47
                7.0.0 DXP SP8
                7.0.X
                7.1.0 Beta 1
                7.1.X
                Master