Open andrewjbtw opened 5 years ago
Thanks for reporting this @andrewjbtw. I think this issue might duplicate https://github.com/artefactual/archivematica/issues/958 but we can keep this one open as it's in the new repository, and closes another in the Archivematica one. (But please do let us know if you spot a difference between the two scenarios).
Thanks! That does look like the same issue. I didn't think to check the old issues list before reporting it.
Expected behaviour Rejecting a new transfer (i.e. before approval) moves the transfer to the rejected folder.
Current behaviour Rejecting a new transfer fails if a transfer with the same name has already been rejected and is still in the rejected folder. The folder for the second rejected transfer remains in place. Subsequent attempts to start a new transfer with the same name get renamed with an "_" and a numbered suffix in order to avoid name conflicts with the transfer still sitting in the transfer start folder.
The underlying issue seems to be the fact that a rejection prior to approval precedes UUID assignment, leaving nothing to disambiguate folder names from subsequent transfer attempts. Rejection after approval does not have this issue.
Steps to reproduce
Your environment (version of Archivematica, OS version, etc) AM 1.8, AM 1.9, Ubuntu 18.04
For Artefactual use: Please make sure these steps are taken before moving this issue from Review to Verified in Waffle: