Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Not all files are deleted #1460

Open
norisalsaadie opened this issue Sep 29, 2020 · 0 comments
Open

Not all files are deleted #1460

norisalsaadie opened this issue Sep 29, 2020 · 0 comments
Labels
Bug Priority II

Comments

@norisalsaadie
Copy link
Contributor

norisalsaadie commented Sep 29, 2020

There is no visual bug here.

When files are uploaded a database record is first created, the file is then uploaded to S3 / file storage and based on the success or failure of that upload the status is then updated.

There are instances in which files are successfully uploaded to S3 but the database record update is not successful. This means the DB record for those files is never updated to reflect a successful upload.

When deleting a submission, it might make sense to check all files regardless of status, and delete their associated S3 reference if one exists.

@norisalsaadie norisalsaadie added the Bug Priority II label Sep 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Priority II
Projects
None yet
Development

No branches or pull requests

1 participant