mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-11 03:53:07 +00:00
Extend accepted handles for supports()
Add an additional supported handle format to the supports() method of VersionedHandleIdentifierProvider to make behavior more in-line with the DS 5.4 code.
This commit is contained in:
@@ -85,6 +85,16 @@ public class VersionedHandleIdentifierProvider extends IdentifierProvider {
|
||||
return true;
|
||||
}
|
||||
|
||||
try {
|
||||
String outOfUrl = retrieveHandleOutOfUrl(identifier);
|
||||
if(outOfUrl != null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user