Description
Description
All of our METS files report a missing required metadata field "record_id" although they contain a mods:recordIdentifier
tag.
METS files from SLUB Dresden seem to raise the same error message:
vendor/bin/typo3 kitodo:index --pid 3 --solr dlfCore2 --doc https://digital.slub-dresden.de/data/kitodo/Abenaud_399196951-1823/Abenaud_399196951-1823_mets.xml -vvv
Cannot load Xdebug - it was already loaded
Index single document into database and Solr.
=============================================
Indexing 13 ("https://digital.slub-dresden.de/data/kitodo/Abenaud_399196951-1823/Abenaud_399196951-1823_mets.xml") on PID 3.
----------------------------------------------------------------------------------------------------------------------------
Thu, 20 Mar 2025 11:45:24 +0000 [ERROR] request="406fb3f8d96cd" component="Kitodo.Dlf.Validation.DocumentValidator": Missing required metadata field "record_id".
Indexing 13 ("https://digital.slub-dresden.de/data/kitodo/Abenaud_399196951-1823/Abenaud_399196951-1823_mets.xml") on Solr core 1.
----------------------------------------------------------------------------------------------------------------------------------
Thu, 20 Mar 2025 11:45:24 +0000 [ERROR] request="406fb3f8d96cd" component="Kitodo.Dlf.Validation.DocumentValidator": Missing required metadata field "record_id".
[ERROR] ERROR: Document with UID "13" could not be indexed on Solr core 1. There are missing mandatory fields (at least
one of those: document_format,record_id) in this document.