PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-41567

The console will throw EntryDisplayDateException when user rechecked the checkbox of Display Immediately

    Details

    • Story Points:
      4
    • Similar Issues:
      Show 5 results 

      Description

      Steps for reproduce:

      1. Click Manage Entries
      2. Select General from Distribution Scope drop down
      3. Click the Add Entry button
      Distribution Scope: General
      Title: General Entry2
      URL: http://www.yahoo.com
      Content: This is the General Content Entry2
      Type: General
      Priority: Normal
      Display Date: Future Display Date (Set display date 2 mins into the future)
      Display Immediately: uncheck
      Expiration Date: Default Expiration Date
      4. Click Save
      5. Click Action > Edit.
      6. Display Immediately: check.
      7. Click Save.

      Excepted result:
      The entry can be saved successful.

      Actual result:
      The page will display "Announcements is temporarily unavailable." and the console will throw the exception:

      09:34:25,134 ERROR [RuntimePageImpl-8][render_portlet_jsp:132] null
      com.liferay.portlet.announcements.EntryDisplayDateException
              at java.lang.Class.newInstance(Class.java:374)
              at com.liferay.portal.util.PortalImpl.getDate(PortalImpl.java:1813)
              at com.liferay.portal.util.PortalUtil.getDate(PortalUtil.java:495)
              at com.liferay.portlet.announcements.service.impl.AnnouncementsEntryLocalServiceImpl.updateEntry(AnnouncementsEntryLocalServiceImpl.java:358)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
              at com.liferay.portlet.announcements.service.impl.AnnouncementsEntryServiceImpl.updateEntry(AnnouncementsEntryServiceImpl.java:194)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
              at com.liferay.portlet.announcements.service.AnnouncementsEntryServiceUtil.updateEntry(AnnouncementsEntryServiceUtil.java:122)
      

      Note: Can be reproduce on Alert portlet too.

        Activity

        Hide
        Ginson Ren added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal master GIT ID: c568139a95fdba862b8bca41e978b50f060d9626.

        The entry can be saved successful and the entry displayed immediately.

        Show
        Ginson Ren added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal master GIT ID: c568139a95fdba862b8bca41e978b50f060d9626. The entry can be saved successful and the entry displayed immediately.

          People

          • Assignee:
            Ginson Ren
            Reporter:
            Ginson Ren
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 20 weeks, 4 days ago

              Development

                Structure Helper Panel