RED-9859: Redactions found by et. al. rule not skipped with published information #517
@ -1162,6 +1162,10 @@ public class EntityCreationService {
|
|||||||
|
|
||||||
if (kieSession != null) {
|
if (kieSession != null) {
|
||||||
kieSession.insert(textEntity);
|
kieSession.insert(textEntity);
|
||||||
|
textEntity.getIntersectingNodes()
|
||||||
|
.stream()
|
||||||
|
.filter(nodesInKieSession::contains)
|
||||||
|
.forEach(o -> kieSession.update(kieSession.getFactHandle(o), o));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user