There are 4 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-daa42b3e-634f-497b-99c7-0c546e51b53b XWIKI-25288 Closed

Only the first scheduler job of a page gets its status saved and is registered automatically

 
View issue   ยท   Add comment
 

4 updates

 
cid:jira-generated-image-avatar-eb5a99f5-6232-482c-9461-7af73b7d19cc Changes by Vincent Massol on 14/Oct/26 12:51
 
Documentation in Release Notes: N/A
Documentation: N/A
Resolution: Won't Fix
Status: Open Closed
 
 

1 comment

 
cid:jira-generated-image-avatar-eb5a99f5-6232-482c-9461-7af73b7d19cc Vincent Massol on 14/Oct/26 12:51
 

Closing as Won't Fix, following a discussion on the #xwiki Matrix room.

The proposed fix (https://github.com/xwiki/xwiki-platform/pull/6884) made the backend handle every job object of a page (status, startup restore, page events). The decision is to not go in that direction: the scheduler UI (Scheduler.WebHome, XWiki.SchedulerJobSheet) has never supported several jobs per page, several jobs per page never fully worked, so it's very unlikely to be used, and the preferred direction is rather to make "one scheduler job per page" the official model than to fix the multi-job support in the backend only.

Note that the current behaviour described in this issue remains: scheduleJobs(Document) still schedules every job object of a page while the rest of the scheduler only handles the first one. Making the one-job-per-page model explicit in the API is a separate topic, to be discussed on the forum if needed.