[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
50c83ccfd8
commit
3aeea3808a
1 changed files with 2 additions and 0 deletions
|
|
@ -490,6 +490,7 @@ public abstract class TaskElement extends BaseEntity {
|
|||
}
|
||||
}
|
||||
for (TaskElement taskElement : tasksToNotify) {
|
||||
this.removeDependenciesWithOrigin(taskElement);
|
||||
taskElement.removeDependenciesWithDestination(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -503,6 +504,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