There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b8f4d1c7-512f-4454-bf77-aaec6d54a330 XWIKI-25249 Open

Display jobs interrupted before completion as interrupted instead of failed

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-f120b12b-7b2a-48d3-88dd-a6772a49ce26 Claude on 11/Oct/26 13:52
 

Scope update after review:

  • The fix of the displayJobStatus macro (it displayed "Done." for any job already finished when the page was loaded) moved to its own bug, XWIKI-25251, so it can be handled and backported separately. This issue builds on it.
  • The "interrupted" display is limited to a real interruption: an InterruptedException or ClosedByInterruptException in the cause chain of the job error. A job canceled by a user which then fails keeps the "Failed." box. With XCOMMONS-3824 the jobs dropped from the queue when XWiki stops get an error caused by an interruption, so they are displayed as interrupted too, cancelable or not.
  • The jobs displayed through the job status macros are concerned (page move, rename, copy, delete and restore, attachment move, filter stream jobs, Distribution Wizard steps). The Extension Manager has its own status display, which is not changed: the extension install or upgrade example of the description does not apply.
  • Message: "Interrupted before completion because XWiki was stopped. Check the log below and run the operation again."