Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, Master
-
7.0.x
-
Committed
-
3
Description
Steps to reproduce
- Add a new blank site with Calendar page
- Enable staging for the new site
- Place a Calendar portlet on page
- Add a calendar event
- Switch on Ready for Publication > click Publish to Live
- Click Switch to Advanced Publication > Add a name in the Name field > check Schedule
- Change the Start time 5 minutes after current time, 10+ minute for the End by time
- Check the repeat frequency as Yearly
- 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