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:
Pascal-Nicolas Becker
2014-09-01 15:55:10 +02:00
parent 3fdc76c8ea
commit bd105d1006
2 changed files with 5 additions and 1 deletions

View File

@@ -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)