RED-10200: fix failing acceptance, function tests
This commit is contained in:
parent
d022b1a5c9
commit
6ad0367268
@ -81,7 +81,6 @@ public class ManualChangesApplicationService {
|
||||
public void resizeEntityAndReinsert(TextEntity entityToBeResized, ManualResizeRedaction manualResizeRedaction) {
|
||||
|
||||
entityToBeResized.notifyEntityRemoved();
|
||||
entityToBeResized.removeFromGraph();
|
||||
|
||||
PositionOnPage positionOnPageToBeResized = entityToBeResized.getPositionsOnPagePerPage()
|
||||
.stream()
|
||||
|
||||
@ -994,6 +994,7 @@ public class EntityCreationService {
|
||||
}
|
||||
return Optional.empty(); // Entity has been resized, if there are duplicates they should be treated there
|
||||
}
|
||||
|
||||
node.getDocumentTree().addEntityToGraph(entity);
|
||||
insertToKieSession(entity);
|
||||
|
||||
@ -1488,4 +1489,13 @@ public class EntityCreationService {
|
||||
}
|
||||
}
|
||||
|
||||
public void addListener(TextEntity textEntity) {
|
||||
|
||||
if(kieSessionUpdater != null) {
|
||||
textEntity.addEntityEventListener(kieSessionUpdater);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user