Skip to content

Behaviour when request is for no files #15

@kevinphippsstfc

Description

@kevinphippsstfc

When testing the queuing functionality in the datagateway-download-api we accidentally submitted a recall request with nothing in it.

This resulted in an error being returned from the getPercentageComplete endpoint due to a divide by zero error which needs fixing.

More generally, does the IDS handle these requests correctly and what is the desired behaviour (it probably was not even considered).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions