Error when updating a representation's descriptive metadata
006627 opened this issue · 1 comments
006627 commented
RODA tries to update the AIP descriptive metadata and not the Representation descriptive metadata:
org.roda.core.data.exceptions.NotFoundException: Binary does not exist: /roda/data/storage/aip/bf/6bf/bf6bf7f2-6228-48f9-bb1a-ec76819f7662/metadata/descriptive/metadata.xml
at org.roda.core.storage.fs.FolderScatteringStorageService.createBinaryVersion(FolderScatteringStorageService.java:618)
at org.roda.core.storage.StorageServiceWrapper.createBinaryVersion(StorageServiceWrapper.java:215)
at org.roda.core.model.ModelService.updateDescriptiveMetadata(ModelService.java:724)
at org.roda.core.model.ModelService.updateDescriptiveMetadata(ModelService.java:706)
at org.roda.core.plugins.base.ingest.EARKSIPToAIPPluginUtils.processDescriptiveMetadata(EARKSIPToAIPPluginUtils.java:173)
at org.roda.core.plugins.base.ingest.EARKSIPToAIPPluginUtils.processIPRepresentationInformation(EARKSIPToAIPPluginUtils.java:271)
at org.roda.core.plugins.base.ingest.EARKSIPToAIPPluginUtils.earkSIPToAIPUpdate(EARKSIPToAIPPluginUtils.java:118)
...
The problem is due to incorrect use of the method that updates the AIP descriptive metadata and not the representation descriptive metadata
And here:
To fix this use the following method: