[Bug #1301] Fix issue creating a container in a task with dependencies
Now TaskElement::detachDependencies remove them from both current task and related. As for the moment it was just doing it in the related tasks, but dependencies remain in current task and were removed later together with the current task. FEA: ItEr75S04BugFixing
This commit is contained in:
parent
420de27619
commit
d8c447a382
1 changed files with 2 additions and 0 deletions
|
|
@ -491,6 +491,7 @@ public abstract class TaskElement extends BaseEntity {
|
|||
}
|
||||
}
|
||||
for (TaskElement taskElement : tasksToNotify) {
|
||||
this.removeDependenciesWithOrigin(taskElement);
|
||||
taskElement.removeDependenciesWithDestination(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -504,6 +505,7 @@ public abstract class TaskElement extends BaseEntity {
|
|||
}
|
||||
}
|
||||
for (TaskElement taskElement : tasksToNotify) {
|
||||
this.removeDependenciesWithDestination(taskElement);
|
||||
taskElement.removeDependenciesWithOrigin(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue