Expected behaviour
Given a standard zipped package with a top level directory and both "objects" and "metadata" subdirectories,
Archivematica ignores the top level directory created when unzipping the zip package and correctly processes the object and metadata subdirectories. (This is what happens with a zipped bag transfer type, and we expected standard transfer "zipped directory" to be the same.)
Current behaviour
When Archivematica unzips a standard transfer (aka "Zipped directory"), it doesn't ignore or eliminate the top level directory, it treats it as the main object package. It does not correctly process the object and metadata subdirectories, instead treating those all as objects. The top level directory, metadata, and objects folder all end up in the AIP's object folder.
Steps to reproduce
Structure a package in a directory named "test_transfer". The directory has two subdirectories - "objects" and "metadata" - with the usual content in both. Zip up the "test_transfer" directory as a ".zip" and submit it as a standard transfer. Archivematica will not process the metadata and objects correctly.
Your environment (version of Archivematica, operating system, other relevant details)
Archivematica 1.18 running on Ubuntu 22.04.5
For Artefactual use:
Before you close this issue, you must check off the following:
Expected behaviour
Given a standard zipped package with a top level directory and both "objects" and "metadata" subdirectories,
Archivematica ignores the top level directory created when unzipping the zip package and correctly processes the object and metadata subdirectories. (This is what happens with a zipped bag transfer type, and we expected standard transfer "zipped directory" to be the same.)
Current behaviour
When Archivematica unzips a standard transfer (aka "Zipped directory"), it doesn't ignore or eliminate the top level directory, it treats it as the main object package. It does not correctly process the object and metadata subdirectories, instead treating those all as objects. The top level directory, metadata, and objects folder all end up in the AIP's object folder.
Steps to reproduce
Structure a package in a directory named "test_transfer". The directory has two subdirectories - "objects" and "metadata" - with the usual content in both. Zip up the "test_transfer" directory as a ".zip" and submit it as a standard transfer. Archivematica will not process the metadata and objects correctly.
Your environment (version of Archivematica, operating system, other relevant details)
Archivematica 1.18 running on Ubuntu 22.04.5
For Artefactual use:
Before you close this issue, you must check off the following: