Add abort function to imports and exports
Currently if something goes wrong the tasks get stuck until deleted from the database at the back end.
Might need to reduce the reload frequency to enable abort link to be executed.
Comments (10)
-
reporter -
reporter Abort link now terminates task in Celery sucessfully. As the file at this stage is a temp file I am assuming it is automatically deleted. Refs
#111.→ <<cset 05666c2c7add>>
-
reporter Exports now aborted with a red button. Seems that Celery tasks are not always aborted on request. No obvious reasoning. Refs
#111.→ <<cset 549879301782>>
-
reporter Updating screenshot for docs to include export abort button, and added text to indicate the observed behaviour. Refs
#111.→ <<cset d059b8c0a174>>
-
reporter User group check didn't allow export users to terminate export jobs. Fixed. Refs
#111.→ <<cset 9d0fb8fbca4a>>
-
reporter Abort button link in template leading to new url for aborting import jobs. Refs
#111→ <<cset f537c2e2f712>>
-
reporter Abort function as per exports, but doesn't delete the database record. This leaves the log file available, updated to the point that the delete occurs as the log is updated as the routine progresses. Refs
#111.→ <<cset d4a408f6b620>>
-
reporter Adding brief doc strings to two new views. Refs
#111.→ <<cset 27f404b174cc>>
-
reporter - changed status to resolved
Abort functions added and documented. Fixes
#111.→ <<cset 1439cc0a7807>>
-
reporter Added ref
#111to the changes log.→ <<cset 3e73fb796198>>
- Log in to comment
Abort link in place, with url and view. Doesn't actually abort the task, not sure if the record is deleted, but the completed task still ends up in the table. Also doesn't attempt to do anything with the files. Refs
#111.→ <<cset 9287120a6b7b>>