Add abort function to imports and exports

Issue #111 resolved
Ed McDonagh created an issue

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)

  1. Ed McDonagh reporter

    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>>

  2. Ed McDonagh 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>>

  3. Ed McDonagh 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>>

  4. Log in to comment