Details
-
Bug
-
Resolution: Fixed
-
Major
-
16.10.4
-
None
-
Unknown
-
Description
Reproduction steps
- start a xwiki instance
- Visit http://localhost:8080/xwiki/bin/view/Scheduler/
- click on the Trigger link of the "Notifications hourly email" line
- observe the console
Expected
No error logs
Actual
The following logs are displayed
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)