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

Change the End date same to Start date cause an error

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE B3
    • Fix Version/s: 6.2.0 CE RC2
    • Labels:
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: a31b3077f57c690559d70dba227de5672dc9fed4.

      Description

      Steps for reproduce:

      1. Start liferay.
      2. Click wrench icon on any portlet.
      3. Click Export/Import.
      4. Click Select near Date Range.
      5. Change the End Date same to Start Date.
      6. Click OK.

      Expected result:
      No error messages displayed in console.

      Actual result:
      Error messages displayed in console as follow:

      09:24:11,483 ERROR [http-bio-9080-exec-6][IncludeTag:92] Current URL /web/guest/home?p_auth=rEE4DoQx&p_p_id=86&p_p_lifecycle=1&p_p_state=pop_up&p_p_mode=view&_86_struts_action=%2Fportlet_configuration
      %2Fexport_import&etag=0&strip=0 generates exception: com.liferay.portal.kernel.lar.PortletDataException
      com.liferay.portal.kernel.lar.PortletDataException
              at com.liferay.portal.lar.PortletDataContextFactoryImpl.validateDateRange(PortletDataContextFactoryImpl.java:173)
              at com.liferay.portal.lar.PortletDataContextFactoryImpl.createPreparePortletDataContext(PortletDataContextFactoryImpl.java:115)
              at com.liferay.portal.kernel.lar.PortletDataContextFactoryUtil.createPreparePortletDataContext(PortletDataContextFactoryUtil.java:59)
              at org.apache.jsp.html.portlet.portlet_005fconfiguration.export_005fportlet_jsp._jspService(export_005fportlet_jsp.java:1125)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
              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.include(IncludeTag.java:295)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:82)
              at org.apache.jsp.html.portlet.portlet_005fconfiguration.export_005fimport_jsp._jspx_meth_liferay_002dutil_005finclude_005f0(export_005fimport_jsp.java:1136)
              at org.apache.jsp.html.portlet.portlet_005fconfiguration.export_005fimport_jsp._jspService(export_005fimport_jsp.java:988)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
              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.include(IncludeTag.java:295)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 4 days ago

                  Packages

                  Version Package
                  6.2.0 CE RC2