diff --git a/plugin/src/main/java/de/intranda/goobi/plugins/DocumentManager.java b/plugin/src/main/java/de/intranda/goobi/plugins/DocumentManager.java index d083199..e35ef4b 100644 --- a/plugin/src/main/java/de/intranda/goobi/plugins/DocumentManager.java +++ b/plugin/src/main/java/de/intranda/goobi/plugins/DocumentManager.java @@ -89,6 +89,10 @@ public DocumentManager(ProcessDescription processDescription, ImportSet importSe processname = UUID.randomUUID().toString(); break; } + // if for any reason no processname was specified until here point use a UUID + if (StringUtils.isBlank(processname)) { + processname = UUID.randomUUID().toString(); + } if (ProcessManager.countProcessTitle(processname, null) > 0) { int tempCounter = 1;