[CMS 11] [Admin] Scheduled job stuck in running state after clicking Stop Job

Fixed in

EPiServer.CMS.Core 11.21.3

(Or a related package)

Created

May 31, 2023

Updated

Jan 23, 2024

Area

CMS Core

State

Closed, Fixed and tested


Description

Fixed an issue where when you clicked Stop Job on a custom long-running scheduled job, the job became stuck in a running state and displayed The job is stopping message.  There was no change upon reloading the page and you could not start or stop the job from that state. Now, the job stops successfully and a message prompts you to refresh the page to see the updated status.