diff --git a/Kitodo/src/main/java/org/kitodo/production/forms/createprocess/ProcessDataTab.java b/Kitodo/src/main/java/org/kitodo/production/forms/createprocess/ProcessDataTab.java index 10c4a40a176..4f9a05aee34 100644 --- a/Kitodo/src/main/java/org/kitodo/production/forms/createprocess/ProcessDataTab.java +++ b/Kitodo/src/main/java/org/kitodo/production/forms/createprocess/ProcessDataTab.java @@ -281,7 +281,7 @@ private String getTitleFromMetadata(Collection metadata) { * whose metadata should be queried */ private ProcessFieldedMetadata initializeTempProcessDetails(TempProcess tempProcess) { - var metadata = ImportService.initializeProcessDetails(tempProcess.getWorkpiece().getLogicalStructure(), + ProcessFieldedMetadata metadata = ImportService.initializeProcessDetails(tempProcess.getWorkpiece().getLogicalStructure(), createProcessForm.getRulesetManagement(), createProcessForm.getAcquisitionStage(), createProcessForm.getPriorityList()); metadata.setMetadata(ImportService.importMetadata(tempProcess.getMetadataNodes(), MdSec.DMD_SEC));