topcoder-platform / work-manager

This is the frontend application for creating and managing challenges.
13 stars 48 forks source link

WM is not handling error response from submissions-api download endpoint #1567

Closed jmgasper closed 10 months ago

jmgasper commented 10 months ago

REF: https://topcoder.atlassian.net/browse/PROD-4355

Please check the behaviour on screen recording

This was noted when attempting to download a submission that hadn't been moved out of the quarantine area yet, which happens after the initial virus scan finishes. So, this is likely the first 30-60 seconds after a submission has been uploaded. We need to pass the errors from the submissions API to the user in an error popup in this case, instead of just downloading an invalid zip file.

https://github.com/topcoder-platform/work-manager/assets/21790/e26f39cd-4e27-4d3d-ae86-27b683275a98