Closed helrond closed 5 years ago
I created an unzipped Bag with duplicate metadata elements as per the example above:
I successfully transferred the Bag into AM 1.8 Bionic:
And the SIP completes the Prepare AIP microservice:
And the Bag metadata finds it way successfully into an amdSec in the AIP:
Expected behaviour As an end user, I start an unzipped bag transfer. The bag is processed regularly through Archivematica services. Data from bag-info.txt is added to the AIP and DIP METS files.
Current behaviour Unzipped bag SIPs currently fail at the Generate AIP microservice if their bag-info.txt file contains more than one occurrence of a metadata element (which is allowed according to the BagIt spec) with the following error:
Steps to reproduce From the Transfer page in the Dashboard, select an Unzipped bag transfer and browse for a bag containing a bag-info.txt file with repeating fields, such as (repeating
Records-Creators
fields):Process transfer normally. SIP fails at Generate AIP microservice
I haven't tried this with Zipped bags, but I strongly suspect the same behavior will take place.
Your environment (version of Archivematica, OS version, etc) Mac OS High Sierra (10.13.6) Archivematica 1.7.2/Storage Service 0.12 (docker-compose)
For Artefactual use: Please make sure these steps are taken before moving this issue from Review to Verified in Waffle: