|
Description: |
h2. Reproduction steps # start a xwiki instance # wait long enough for Visit [http://localhost:8080/xwiki/bin/view/Scheduler/] # click on the error to be displayed in Trigger link of the logs (I guess triggering "Notifications hourly email" line # observe the notifications should do the job) console
h2. Result Expected
No error logs h2. Actual
The following logs are displayed {noformat} 2025-02-25 17:00:01,008 [DefaultQuartzScheduler_Worker-8] WARN c.x.x.d.XWikiDocument - Abusive modification of the cached document [xwiki:XWiki.Notifications.NotificationEmailHourlySender()] java.lang.IllegalStateException: Abusive modification of the cached document at com.xpn.xwiki.doc.XWikiDocument.setMetaDataDirty(XWikiDocument.java:2436) at com.xpn.xwiki.objects.BaseElement.setDirty(BaseElement.java:133) at com.xpn.xwiki.objects.BaseProperty.setDirty(BaseProperty.java:386) at com.xpn.xwiki.objects.BaseProperty.setValueDirty(BaseProperty.java:380) at com.xpn.xwiki.objects.BaseProperty.setValueDirty(BaseProperty.java:368) at com.xpn.xwiki.objects.DateProperty.setValue(DateProperty.java:56) at com.xpn.xwiki.objects.BaseObject.set(BaseObject.java:364) at org.xwiki.notifications.notifiers.internal.DefaultModelBridge.savePropertyInHiddenDocument(DefaultModelBridge.java:66) at org.xwiki.notifications.notifiers.internal.email.NotificationEmailJob.setPreviousFireTime(NotificationEmailJob.java:123) at org.xwiki.notifications.notifiers.internal.email.NotificationEmailJob.executeJob(NotificationEmailJob.java:72) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:76) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:570) {noformat} |
|