archivematica / Issues

Issues repository for the Archivematica project
GNU Affero General Public License v3.0
16 stars 1 forks source link

Problem: Metadata added via GUI during Transfer is not being saved to METS file #1150

Open peterVG opened 4 years ago

peterVG commented 4 years ago

Expected behaviour When I use the metadata icon on the Transfer tab GUI to add descriptive metadata to my transfer (prior to reaching the metadata reminder microservice) I expect all the metadata values to show up in the AIP METS.xml in a dmdSec.

Current behaviour The added metadata disappears. It disappears from the metadata list in the GUI when you reach the Ingest tab and is not written to the METS file.

Steps to reproduce Select the add Metadata icon during a transfer and add some descriptive metadata. Check your METS file for those values.

See also https://github.com/archivematica/Issues/issues/311

Your environment (version of Archivematica, operating system, other relevant details)

am111qa.xenial.archivematica.net


For Artefactual use:

Before you close this issue, you must check off the following:

peterVG commented 4 years ago

After further diagnosis it was discovered that this error only occurs if the metadata is saved at some point after the Transfer has completed the "Microservice: Create SIP from Transfer -- Job: Serialize Dublin Core metadata to disk". So this error can be avoided by adding a Transfer decision point that pauses Transfer processing and allows the user to enter and save metadata, before the Transfer reaches the "Serialize Dublin Core metadata to disk" Job.