Previously failed ZIP exports will also fail subsequent ZIP exports #9499
Labels
bug
claimed: 4Science
4Science team is working on this issue & will contribute back
help wanted
Needs a volunteer to claim to move forward
high priority
testathon
Reported by a tester during Community Testathon
tools: export
Related to export of data from the system
Describe the bug
During the ZIP export through the UI, a temporary directory is created based on the UUID of the eperson doing the export.
If that export fails because of a missing bitstream for example, that temporary directory is never cleared.
Subsequent exports will try to create that directory as well, but that will automatically fail because the directory already exists
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If a ZIP export fails in the DSpace codebase, it should either clear up the existing temporary export directory, or a subsequent export should at least not break it.
The text was updated successfully, but these errors were encountered: