-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: Package extraction can fail in the storage service if a pointer file hasn't been created #616
Comments
Notably #920 is linked to this issue. In #920 the storage service's inability to understand how to extract a bag means it can't submit the package to bagit.py to be checked Further, for more context, the types of file you might try and access but cannot in this scenario is METS file that can be accessed from the Archival Storage tab. This GIF tries to demonstrate the failure once the pointer file is missing by:
|
Expected behaviour
The storage service uses the pointer file to determine compression correctly so that re-ingest can work, as well as retrieving files via the API.
Current behaviour
Connected to #594 if a pointer file doesn't exist,then the storage service will fall-back to
unar
which in the case of some packages created by7z
doesn't always work.Steps to reproduce
See #594.
Your environment (version of Archivematica, OS version, etc)
AM
stable/1.9.0
andqa/0.x
Additional context
There is some work in progress here developed looking at ways to fix #594 but will need to be rebased: artefactual/archivematica-storage-service#441 - the tests developed there should be useful.
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: