Skip to content

Downloads interface doesn't report failures; task stays at pending #3

@UnwashedMeme

Description

@UnwashedMeme

If the backend download system fails the portal keeps displaying that as Status "pending".

E.g. on a current download, the status url is requesting: https://api.idigbio.org/v2/download/f1f91566-3b1f-4478-b3ed-af32703f5cca yield response:

{
  "complete": false, 
  "core_source": "indexterms", 
  "core_type": "records", 
  "expires": "2017-01-11T12:22:30.268094", 
  "form": "dwca-csv", 
  "mediarecord_fields": null, 
  "mq": null, 
  "record_fields": null, 
  "rq": {
    "scientificname": "alligator mississippiensis"
  }, 
  "status_url": "https://api.idigbio.org/v2/download/f1f91566-3b1f-4478-b3ed-af32703f5cca", 
  "task_status": "FAILURE"
}

but the portal keeps requesting that about every 4s and the status pane in the download tab keeps saying "pending"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions