ItEr59S04ValidacionEProbasFuncionaisItEr58S04: Fix bug.
When copying a order on a derived scenario the queue dependencies are ignored. An exception is produced copying LimitingResourceQueueElement if they are not ignored.
This commit is contained in:
parent
94835223fe
commit
21eb5f8cee
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ import java.util.Date;
|
|||
import org.apache.commons.lang.Validate;
|
||||
import org.navalplanner.business.common.BaseEntity;
|
||||
import org.navalplanner.business.planner.limiting.entities.LimitingResourceQueueDependency;
|
||||
import org.navalplanner.business.util.deepcopy.Strategy;
|
||||
import org.navalplanner.business.util.deepcopy.OnCopy;
|
||||
|
||||
/**
|
||||
* Entity which represents an associated with properties
|
||||
|
|
@ -99,6 +101,7 @@ public class Dependency extends BaseEntity {
|
|||
|
||||
private TaskElement destination;
|
||||
|
||||
@OnCopy(Strategy.IGNORE)
|
||||
private LimitingResourceQueueDependency queueDependency;
|
||||
|
||||
private Type type;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue