mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-09 19:13:18 +00:00
Add handles in canonical form to the metadata.
This commit is contained in:
@@ -428,9 +428,10 @@ public class VersionedHandleIdentifierProvider extends IdentifierProvider {
|
|||||||
return identifier;
|
return identifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void populateHandleMetadata(Context context, Item item, String handleref)
|
protected void populateHandleMetadata(Context context, Item item, String handle)
|
||||||
throws SQLException, IOException, AuthorizeException
|
throws SQLException, IOException, AuthorizeException
|
||||||
{
|
{
|
||||||
|
String handleref = getCanonicalForm(handle);
|
||||||
// we want to remove the old handle and insert the new. To do so, we
|
// we want to remove the old handle and insert the new. To do so, we
|
||||||
// load all identifiers, clear the metadata field, re add all
|
// load all identifiers, clear the metadata field, re add all
|
||||||
// identifiers which are not from type handle and add the new handle.
|
// identifiers which are not from type handle and add the new handle.
|
||||||
|
Reference in New Issue
Block a user