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

Inconsistent reminde message while staging an unresonable event

Details

    Description

      Steps to reproduce

      1. Add a new blank site with Calendar page
      2. Enable staging for the new site
      3. Place a Calendar portlet on page
      4. Add a calendar event
      5. Switch on Ready for Publication > click Publish to Live
      6. Click Switch to Advanced Publication > Add a name in the Name field > check Schedule
      7. Change the Start time 5 minutes after current time, 10+ minute for the End by time
      8. Check the repeat frequency as Yearly
      9. Click Add Event
        refer to PublishtoLive.gif on desk

      Expect Result
      Fail to add event with a warning message like in console or something more clear to remind user.

      Unable to schedule job.
      Based on configured schedule, the given trigger will never fire.
      

      Actually Result
      Add event with a success message on page, but an error like following on console

      10:46:43,081 WARN  [liferay/scheduler_engine-3][ProxyMessageListener:86] com.liferay.portal.kernel.scheduler.SchedulerException: Unable to schedule job
      com.liferay.portal.kernel.scheduler.SchedulerException: Unable to schedule job
              at com.liferay.portal.scheduler.quartz.internal.QuartzSchedulerEngine.schedule(QuartzSchedulerEngine.java:390)
              at sun.reflect.GeneratedMethodAccessor762.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:82)
              at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:56)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
              at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.quartz.SchedulerException: Based on configured schedule, the given trigger 'liferay/layouts_local_publisher/37162.2c875b1b-a9b7-6409-6eb1-d5d1e7b109ba' will never fire.
              at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:836)
              at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:250)
              at com.liferay.portal.scheduler.quartz.internal.QuartzSchedulerEngine.schedule(QuartzSchedulerEngine.java:800)
              at com.liferay.portal.scheduler.quartz.internal.QuartzSchedulerEngine.schedule(QuartzSchedulerEngine.java:363)
              ... 10 more
      

      Attachments

        Activity

          People

            sharry.shi Sharry Shi
            sharry.shi Sharry Shi
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 22 weeks, 1 day ago

              Packages

                Version Package
                7.0.0 DXP FP31
                7.0.5 CE GA6
                7.0.X
                7.1.X
                Master