Problem: bagit created by Storage Service after reingest may have outdated tag manifest files #449
Labels
CVA
Severity: high
A high-priority situation where performance or other uses are significantly impacted or degraded.
Type: bug
A flaw in the code that causes the software to produce an incorrect or unexpected result.
Milestone
Expected behaviour
SS shouldn't create invalid bags.
Current behaviour
After full reingest, Storage Service executes a number of steps in order to replace the original AIP with the new re-ingested AIP. In particular, as the payload of the bag has changed, SS uses python-bag to regenerate the manifests. When the original package is a BagIt v0.96, the library does not update optional tag manifests.
This is a problem when the package is transferred to the pipeline again because during the validation process we're using the Java version which verifies optional tag manifests.
tagmanifest-md5.txt
wasn't updated so the verification process fails and the transfer is rejected.A potential solution is to update the BagIt package to v0.97.
Steps to reproduce
Your environment (version of Archivematica, OS version, etc)
Tested using: bagit-python v1.5.4 and v1.7.0
AM qa/1.x 6de2fc11d11c2013a11b9a6864d9f23dc89f3681
For Artefactual use:
Please make sure these steps are taken before moving this issue from Review to Verified in Waffle:
The text was updated successfully, but these errors were encountered: