Skip to content

Commit

Permalink
MCR-3049 better TODO message
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhofmann committed Feb 23, 2024
1 parent 3b8755b commit b5cd8dc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ protected void handleObjectUpdated(final MCREvent evt, final MCRObject obj) {
}
handleObjectCreated(evt, obj);
//may have to reindex children, if they inherit any information
// TODO: clean up this code, it does not belong here
// TODO: remove this code, it is not part of this classes responsibility. if information is inherited, i.e.
// because of a metadata share agent, that process should, in turn, cause a reindexing of affected objects
for (MCRMetaLinkID childLinkID : obj.getStructure().getChildren()) {
MCRObjectID childID = childLinkID.getXLinkHrefID();
if (MCRMetadataManager.exists(childID) && INDEX_ALL_CHILDREN) {
Expand Down

0 comments on commit b5cd8dc

Please sign in to comment.