Skip to content

Commit

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

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

0 comments on commit 4cfef0d

Please sign in to comment.