diff --git a/Classes/Common/MetsDocument.php b/Classes/Common/MetsDocument.php index 7007d7c7dc..15ec033f91 100644 --- a/Classes/Common/MetsDocument.php +++ b/Classes/Common/MetsDocument.php @@ -518,6 +518,7 @@ class_exists($class) // Continue searching for supported metadata with next @DMDID. continue; } + $this->initializeRepositories(); // Get the additional metadata from database. $resultWithFormat = $this->metadataRepository->findWithFormat(intval($cPid), $this->mdSec[$dmdId]['type']); $resultWithoutFormat = $this->metadataRepository->findWithoutFormat(intval($cPid));