mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 23:13:10 +00:00
Merge remote-tracking branch 'atmire/w2p-111719_sword-embargo-bugfix' into sword-configuration-old-style-fixes-7.6
This commit is contained in:
@@ -150,11 +150,7 @@ public class CollectionDepositor extends Depositor {
|
|||||||
// for a moment
|
// for a moment
|
||||||
context.turnOffAuthorisationSystem();
|
context.turnOffAuthorisationSystem();
|
||||||
|
|
||||||
String bundleName = configurationService.getProperty(
|
String bundleName = configurationService.getProperty("sword-server.bundle.name", "SWORD");
|
||||||
"sword-server", "bundle.name");
|
|
||||||
if (bundleName == null || "".equals(bundleName)) {
|
|
||||||
bundleName = "SWORD";
|
|
||||||
}
|
|
||||||
Item item = result.getItem();
|
Item item = result.getItem();
|
||||||
List<Bundle> bundles = item.getBundles();
|
List<Bundle> bundles = item.getBundles();
|
||||||
Bundle swordBundle = null;
|
Bundle swordBundle = null;
|
||||||
|
Reference in New Issue
Block a user