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

Can't see the publish button if the Content Date Range end date is set to a future time

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE RC5
    • Fix Version/s: 6.2.0 CE RC6, 6.2.10 EE GA1
    • Component/s: Staging
    • Labels:
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal master GIT ID: 96d0e3d1df8239012e0f3b1cc0659364973d7699.

      Description

      Steps to reproduce:

      1. Login to the portal.
      2. Go to Admin > Site Administration > Configuration
      3. Enable local staging.
      4. Create a web content in the control panel.
      5. Go back to liferay and add web content portlet then select the web content you created (in staging).
      6. Click mark as ready for publication and Publish to Live.
      7. Click Choose Content.
      8. Click Change next to Date Range.
      9. Set the End Date to a future date/time.
      10. Click OK.

      Expected result:
      Can see the publish button following the steps above.

      Actual result:
      Can't see the publish button following the steps above.
      errors in the console:

      08:44:08,003 ERROR [http-bio-8080-exec-6][IncludeTag:129] Current URL /web/site-a/re?p_auth=4mDKs0dY&p_p_id=88&p_p_lifecycle=1&p_p_state=pop_up&p_p_mode=view&_88_struts_action=%2Flayouts_admin%2Fpublish_layouts&_88_closeRedirect=%2Fweb%2Fsite-a%2Fre%3Fp_p_id%3D56_INSTANCE_L3RaSs5QJUWw%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26_56_INSTANCE_L3RaSs5QJUWw_className%3Dcom.liferay.portlet.journal.model.JournalArticle%26_56_INSTANCE_L3RaSs5QJUWw_classPK%3D10570&_88_groupId=10512&_88_stagingGroupId=10512&_88_privateLayout=false&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:190)
              at com.liferay.portal.lar.PortletDataContextFactoryImpl.createPreparePortletDataContext(PortletDataContextFactoryImpl.java:116)
              at com.liferay.portal.kernel.lar.PortletDataContextFactoryUtil.createPreparePortletDataContext(PortletDataContextFactoryUtil.java:59)
              at org.apache.jsp.html.portlet.layouts_005fadmin.publish_005flayouts_jsp._jspService(publish_005flayouts_jsp.java:3043)
              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:83)
              at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3098)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 2 weeks ago

                  Packages

                  Version Package
                  6.2.0 CE RC6
                  6.2.10 EE GA1