diff --git a/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java b/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java index 47813830cde708f75305cca525a018aea2f1f387..34608bdb2abf3e1e9dffa2a4c1dbfd506de81efc 100644 --- a/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java +++ b/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java @@ -396,10 +396,10 @@ public class SLUBStoragePlugin extends AbstractStorageHandler { protected String getFilePathInDescIfExists(StoredEntityMetaData storedEntityMetadata) { log.info("SLUBStoragePlugin.getFilePathInDescIfExists()"); - String tmpFilePath = getTempStorageDirectory(false) + "destPath"; if (storedEntityMetadata.getIePid() == null) { return null; } + String tmpFilePath = getTempStorageDirectory(false) + "destPath"; String existsDescPath = StorageUtil.readDestPathFromTmpFile(storedEntityMetadata.getIePid(), tmpFilePath, storedEntityMetadata.getEntityPid()); log.debug("SLUBStoragePlugin.getFilePathInDescIfExists() existsDescPath='" + existsDescPath + "'"); return existsDescPath;