bcgov/OCWA

Output checker not able to download a file

Closed this issue · 0 comments

OCWA Issue

User Story

As an Outputchecker,

I want to be able to download a file of an Export or Import Request

so that I can inspect it during my review of the request.

Test Case

ENV

  • DEV
  • TEST
  • PROD

TESTCASE

  • Create an Export Request, attach a file and submit for review
  • As an Output checker, assign the Request to yourself and click the cloud icon to download the attached file

EXPECTED

  • File contents is downloaded

ACTUAL

  • Shows the content "Files unavailable", and closer inspection of the HTTP response is a 401 error

ERROR

Notes

Looks like the frontend inspection of the Request is requiring the state to be "Approved" before allowing file download - which is not true in the case of an outputchecker.