-
Notifications
You must be signed in to change notification settings - Fork 5
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: user supplied SIP name is not included in preservation metadata #49
Comments
This issue is still present. One way the problem is apparent is when looking at the preservation metadata in the METS file inside the AIP that is produced by a3m. steps to reproduce: the resulting aip will be named test-[UUID].7z
note that the premis original name does not match the name of the aip, it is missing the 'test-' prefix. Now look for a structMap near the bottom of the METS file, in particular the one with TYPE="physical". It will be similar to this:
The 2nd line there has a Directory. The LABEL is supposed to match the name of a real directory in the AIP, in this case the top directory. We saw above it was named test-a1d70fc5-d772-46ab-b6f3-a705f444855d, but in the structMap the label is just the UUID. The metadata in the AIP METS file should be accurate and reflect the actual physical structure of the AIP. |
Just some context for how the original name looks in an Archivematica AIP. My transfer was named nametest. It appears in the premis:originalname field:
And in the structMap (for both the physical and submission documentation sections, in this example):
The original name also appears throughout the METS file wherever a path is indicated, e.g. in tool outputs to indicate which file is being analyzed. |
The API takes a SIP name.
compress_aip
uses it to name the AIP filename but it's not used anywhere else. It should be included in API responses at the very least.The text was updated successfully, but these errors were encountered: