Skip to content

Commit

Permalink
[BP] Reindex the working copy when transferred the ownership of a sin…
Browse files Browse the repository at this point in the history
…gle metadata. Related to #6144 (#6190)
  • Loading branch information
josegar74 committed Mar 10, 2022
1 parent 7c228a3 commit 17371d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ MetadataProcessingReport setRecordOwnership(
report, dataManager, accessManager,
serviceContext, listOfUpdatedRecords, metadataUuid, session);
dataManager.flush();
dataManager.indexMetadata(String.valueOf(metadata.getId()), true, null);
dataManager.indexMetadata(listOfUpdatedRecords);

} catch (Exception exception) {
report.addError(exception);
Expand Down

0 comments on commit 17371d6

Please sign in to comment.