Closed mkewins closed 3 years ago
Hmm. It's calling PG_BOSS.cancel()
, which is supposed to mark the job as cancelled. I'm guessing (without looking deeper at this point) that the loop in JobRunnerGenerateReports
just keeps going anyways, since it's not checking anywhere if the job has been cancelled. If that's true, it will continue to update progress, and will eventually mark the job as completed, which is exactly what would happen if the user didn't click "Undo".
I'm wondering if we should just...hide the button for now until we have time to debug further?
What Happened The "undo" button on the export reports notification pop-up doesn't do anything.
What Should Happen I expected it would cancel the export from processing.
To Reproduce Steps to reproduce the bug:
Screenshots n/a
Additional Notes I'm unsure what the intended functionality of the "undo" button is, both in the pop-up notification, and on the Manage Downloads page.