mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 13:03:11 +00:00
[CSTPER-221] EZIDIdentifierProvider exclusions
This commit is contained in:
@@ -147,6 +147,7 @@ public class EZIDIdentifierProvider
|
||||
public String register(Context context, DSpaceObject dso)
|
||||
throws IdentifierException {
|
||||
log.debug("register {}", dso);
|
||||
|
||||
if (!(dso instanceof Item)) {
|
||||
return null;
|
||||
}
|
||||
@@ -173,6 +174,9 @@ public class EZIDIdentifierProvider
|
||||
public void register(Context context, DSpaceObject object, String identifier) {
|
||||
log.debug("register {} as {}", object, identifier);
|
||||
|
||||
if (!(object instanceof Item)) {
|
||||
return;
|
||||
}
|
||||
EZIDResponse response;
|
||||
try {
|
||||
EZIDRequest request = requestFactory.getInstance(loadAuthority(),
|
||||
|
Reference in New Issue
Block a user