mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 21:13:19 +00:00
[CSTPER-221] EZIDIdentifierProvider exclusions
This commit is contained in:
@@ -147,7 +147,9 @@ public class EZIDIdentifierProvider
|
||||
public String register(Context context, DSpaceObject dso)
|
||||
throws IdentifierException {
|
||||
log.debug("register {}", dso);
|
||||
|
||||
if (!(dso instanceof Item)) {
|
||||
return null;
|
||||
}
|
||||
DSpaceObjectService<DSpaceObject> dsoService = contentServiceFactory.getDSpaceObjectService(dso);
|
||||
List<MetadataValue> identifiers = dsoService.getMetadata(dso, MD_SCHEMA, DOI_ELEMENT, DOI_QUALIFIER, null);
|
||||
for (MetadataValue identifier : identifiers) {
|
||||
|
Reference in New Issue
Block a user