diff --git a/PLUGIN-INF/metadata_SLUBStoragepPlugin.xml b/PLUGIN-INF/metadata_SLUBStoragepPlugin.xml index 693ed7a866d9228ff48ad35482925b01df0aaae1..9a1152415aad79dcd5140c7114ec91708f7c4b20 100644 --- a/PLUGIN-INF/metadata_SLUBStoragepPlugin.xml +++ b/PLUGIN-INF/metadata_SLUBStoragepPlugin.xml @@ -70,7 +70,7 @@ </fr:x_form> </pl:initParameters> <pl:description>SLUB Storage Plugin</pl:description> - <pl:version>2.806</pl:version> + <pl:version>2.807</pl:version> <pl:materialType>DIGITAL</pl:materialType> <pl:module>Repository</pl:module> <pl:generalType>TASK</pl:generalType> 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 dfe81fb9d67913b89c22c470e3c0f8c783e43dbb..174ed85836fc3fedb62749e18cb7370e5c09dda8 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 @@ -1,6 +1,6 @@ /* -2014 by Andreas Romeyke (SLUB Dresden) +2014-2016 by Andreas Romeyke (SLUB Dresden) The code contributed by SLUB is licensed under apache 2.0 and based partially on NFS Storage Plugin, @@ -436,8 +436,8 @@ public class SLUBStoragePlugin extends AbstractStorageHandler { DnxDocument iedoc = storedEntityMetaData.getIeDnx(); log.debug("SLUBStoragePlugin.getStreamRelativePath() getIeDnx fine"); if (null == iedoc) { - log.error ("SLUBStoragePlugin.getStreamRelativePath no iedoc found, do you use plugin for others than permanent data? You should not!"); - throw new Exception("error, no iedoc found, do you use plugin for others than permanent data? You should not!"); + log.error ("SLUBStoragePlugin.getStreamRelativePath no iedoc found, do you use plugin for others than permanent data (IE and filestream)? You should not! Also do not use it for SIPstoragePermanentGroup!"); + throw new Exception("error, no iedoc found, do you use plugin for others than permanent data (IE and filestream)? You should not! Also do not use it for SIPstoragePermanentGroup!"); } StoredEntityMetaData.EntityType entityType = storedEntityMetaData.getEntityType(); log.debug("SLUBStoragePlugin.getStreamRelativePath() getEntityType fine"); @@ -445,8 +445,8 @@ public class SLUBStoragePlugin extends AbstractStorageHandler { log.debug("entitytype='" + entitytype + "'"); DnxSection iesec = iedoc.getSectionById("internalIdentifier"); if (null == iesec) { - log.error ("SLUBStoragePlugin.getStreamRelativePath no section in entity of type "+entitytype +" with 'internalIdentfier' in associated iedoc found, do you use plugin for others than permanent data? You should not!"); - throw new Exception("error, no section in entity of type "+entitytype +" with 'internalIdentfier' in associated iedoc found, do you use plugin for others than permanent data? You should not!"); + log.error ("SLUBStoragePlugin.getStreamRelativePath no section in entity of type "+entitytype +" with 'internalIdentfier' in associated iedoc found, do you use plugin for others than permanent data (IE and filestream)? You should not! Also do not use it for SIPstoragePermanentGroup!"); + throw new Exception("error, no section in entity of type "+entitytype +" with 'internalIdentfier' in associated iedoc found, do you use plugin for others than permanent data (IE and filestream)? You should not! Also do not use it for SIPstoragePermanentGroup!"); } String iepid = null; log.debug("SLUBStoragePlugin.getStreamRelativePath iesec=" + iesec.toString());