RED-9859: Redactions found by et. al. rule not skipped with published information #513

Open
maverick.studer wants to merge 3 commits from RED-9859-bp into release/4.348.x
Showing only changes of commit 557990273d - Show all commits

View File

@ -1160,6 +1160,10 @@ public class EntityCreationService {
if (kieSession != null) {
kieSession.insert(textEntity);
textEntity.getIntersectingNodes()
.stream()
.filter(nodesInKieSession::contains)
.forEach(o -> kieSession.update(kieSession.getFactHandle(o), o));
}
}