This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-f4117bab-f893-43d8-ab0f-b01ed02a3898 XWIKI-24021 Open

Update of scripts in XWiki.SchedulerJobClass does not work

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-0124f445-4dfd-4167-9b48-bec92c0871a3 Dierk Harbeck created this issue on 13/Feb/26 12:39
 
Summary: Update of scripts in XWiki.SchedulerJobClass does not work
Issue Type: cid:jira-generated-image-avatar-f4117bab-f893-43d8-ab0f-b01ed02a3898 Bug
Affects Versions: 17.10.0
Assignee: Unassigned
Components: Scheduler
Created: 13/Feb/26 12:39
Priority: cid:jira-generated-image-static-minor-ca17aaf7-09c3-4dd6-96f7-a18289ea5f92 Minor
Reporter: Dierk Harbeck
Description:

Steps to reproduce:

Create a page, add an object of type XWiki.SchedulerJobClass

  • insert a script
  • run the script
  • change the script
  • re-run the script

You will see, that the change made to the script is not used for subsequent runs, only the very first version is used.

Workaround:

  • delete the whole page
  • insert the changed script
  • run

repeat for each change...