RED-10200: fix failing acceptance, function tests

This commit is contained in:
maverickstuder 2024-12-04 11:23:13 +01:00
parent d022b1a5c9
commit 6ad0367268
2 changed files with 10 additions and 1 deletions

View File

@ -81,7 +81,6 @@ public class ManualChangesApplicationService {
public void resizeEntityAndReinsert(TextEntity entityToBeResized, ManualResizeRedaction manualResizeRedaction) {
entityToBeResized.notifyEntityRemoved();
entityToBeResized.removeFromGraph();
PositionOnPage positionOnPageToBeResized = entityToBeResized.getPositionsOnPagePerPage()
.stream()

View File

@ -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);
}
}
}