mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +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
|
||||
context.turnOffAuthorisationSystem();
|
||||
|
||||
String bundleName = configurationService.getProperty(
|
||||
"sword-server", "bundle.name");
|
||||
if (bundleName == null || "".equals(bundleName)) {
|
||||
bundleName = "SWORD";
|
||||
}
|
||||
String bundleName = configurationService.getProperty("sword-server.bundle.name", "SWORD");
|
||||
Item item = result.getItem();
|
||||
List<Bundle> bundles = item.getBundles();
|
||||
Bundle swordBundle = null;
|
||||
|
Reference in New Issue
Block a user