mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
Asynchronous IdentifierProvider should call DSO.resetIdentifierCache.
Adds a note to the javadoc of DOIIdentifierProvider to reset the identifiers cache in case of asynchronous identifier registration. Adds a call to reset identifiers cache to DOIIdentifierProvider which uses asynchronous registration.
This commit is contained in:
@@ -328,7 +328,8 @@ public class DOIIdentifierProvider
|
||||
}
|
||||
|
||||
doiRow.setColumn("status", IS_REGISTERED);
|
||||
DatabaseManager.update(context, doiRow);
|
||||
DatabaseManager.update(context, doiRow);
|
||||
dso.resetIdentifiersCache();
|
||||
}
|
||||
|
||||
public void updateMetadata(Context context, DSpaceObject dso, String identifier)
|
||||
|
Reference in New Issue
Block a user