Closed replaceafill closed 4 months ago
We tested and compared these scenarios using the am115jammy
and am116jammy
servers and they work as expected now.
Hello,
I think this has inadvertantly broken the ContentDM upload process. If the transfer completes before that transfer is initiated, the DIP stored in uploadedDIPs
is deleted and thus cannot be uploaded/transfered to ContentDM.
@fitnycdigitalinitiatives thanks for pointing this out- I can think of three workarounds:
Thanks Sarah, I did actually end up just tweaking our automation script to grab it from the rejected directory. Everything works the same in the end and is it a bit tidier with this workflow.
Expected behaviour
DIPs are always removed from watched directories after a transfer finishes.
Current behaviour
DIPs are placed in two watched directories:
uploadDIPs
: contains DIPs to upload to an access system and triggers the uploaduploadedDIPs
: contains copies of the DIPs that were uploaded (or tried to be uploaded) and even though it doesn't trigger any processing, it allows users to browse the contents of the DIPIn the following scenarios, at least one of these copies is left behind:
uploadedDIPs
copyuploadDIPs
copy without any errorAnd although it's not related to watched directories there is also a conflict between rejecting the AIP and the DIP at the same time:
Steps to reproduce
uploadDIPs
anduploadedDIPs
watched directories after the transfer finishes. You'll see both copies of the DIP.Your environment (version of Archivematica, operating system, other relevant details)
https://github.com/artefactual/archivematica/commit/2a13924d724a0f9fb4297f995441d6f02368803f
For Artefactual use:
Before you close this issue, you must check off the following: