Compare commits

...

4 Commits

Author SHA1 Message Date
yhampe
a74af5ee13 Merge remote-tracking branch 'origin/RED-7759-documine-fix' into RED-7759-documine-fix 2023-10-24 16:11:10 +02:00
yhampe
4f6abfc78c RED-7759: Cannot resize local manual redactions
* fixed nullpointer
2023-10-24 16:10:52 +02:00
yhampe
a77c87c2c8 RED-7759: Cannot resize local manual redactions
* fixed nullpointer
2023-10-24 15:49:58 +02:00
yhampe
d2ddb93b37 RED-7759: Cannot resize local manual redactions
* fixed mistake when manually resizing redactions that are dictionary based
2023-10-24 08:56:59 +02:00

View File

@ -81,7 +81,7 @@ public class EntityDroolsExecutionService {
fileAttributes.stream().filter(f -> f.getValue() != null).forEach(kieSession::insert);
if (manualRedactions != null) {
manualRedactions.getResizeRedactions().stream().filter(manualResizeRedaction -> !manualResizeRedaction.getUpdateDictionary()).forEach(kieSession::insert);
manualRedactions.getResizeRedactions().stream().filter(manualResizeRedaction -> manualResizeRedaction.getUpdateDictionary()==null).forEach(kieSession::insert);
manualRedactions.getRecategorizations().forEach(kieSession::insert);
manualRedactions.getEntriesToAdd().forEach(kieSession::insert);
manualRedactions.getForceRedactions().forEach(kieSession::insert);