[Bug #1113] Fix issue marking as not transient all allocations
To reproduce the issue is was needed to create a resource allocation not satisfied and save it twice. The problem was that only satisfied allocations were being marked as not transient. FEA: ItEr75S04BugFixing
This commit is contained in:
parent
5c564f2b1e
commit
313f66c0e0
1 changed files with 1 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ public class SaveCommand implements ISaveCommand {
|
|||
dontPoseAsTransient(taskElement.getDependenciesWithThisOrigin());
|
||||
dontPoseAsTransient(taskElement.getDependenciesWithThisDestination());
|
||||
Set<ResourceAllocation<?>> resourceAllocations = taskElement
|
||||
.getSatisfiedResourceAllocations();
|
||||
.getAllResourceAllocations();
|
||||
dontPoseAsTransientAndChildrenObjects(resourceAllocations);
|
||||
if (!taskElement.isLeaf()) {
|
||||
for (TaskElement each : taskElement.getChildren()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue