Bug #1352: Fix issue not saving tasks without order element
The problem is in method SaveCommand::removeTaskElementsWithTaskSourceNull that was added in bug #1295 (4cdda935ce) and modified in bug #1346 (bef1e24fc0). FEA: ItEr76S04BugFixing
This commit is contained in:
parent
bbf1ffb27b
commit
933b64a814
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ public class SaveCommandBuilder {
|
|||
taskElementDAO.remove(taskElement.getId());
|
||||
|
||||
TaskGroup parent = taskElement.getParent();
|
||||
if (parent != null) {
|
||||
if (parent != null && !toRemove.contains(parent)) {
|
||||
parent.remove(taskElement);
|
||||
taskElementDAO.save(parent);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue