The order in the deletion of the different objects related with the task was wrong and it was causing an exception. Moreover, the exception was breaking the flow of execution in our application and preventing that the size of container was updated. FEA: ItEr76S04BugFixing
This commit is contained in:
parent
cbeb35370e
commit
10a5ddf5a6
1 changed files with 2 additions and 2 deletions
|
|
@ -306,11 +306,11 @@ public class FunctionalityExposedForExtensions<T> implements IContext<T> {
|
|||
public Position remove(T domainObject) {
|
||||
Task task = mapper.findAssociatedBean(domainObject);
|
||||
Position position = mapper.findPositionFor(task);
|
||||
adapter.doRemovalOf(mapper.findAssociatedDomainObject(task));
|
||||
mapper.remove(domainObject);
|
||||
diagramGraph.remove(task);
|
||||
task.removed();
|
||||
planner.removeTask(task);
|
||||
adapter.doRemovalOf(mapper.findAssociatedDomainObject(task));
|
||||
mapper.remove(domainObject);
|
||||
return position;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue