Bug #1393: Fix NPE moving milestone
The problem was introduced while fixing bug #1355 in commit
f96cdddcb5
getOrderElement() for a milestone is always null, so we need to
getOrderElement() from its parent.
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
e24cb9ba7e
commit
3e1bb46e23
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ public class TaskMilestone extends TaskElement implements ITaskPositionConstrain
|
|||
|
||||
public void explicityMoved(IntraDayDate startDate, IntraDayDate endDate) {
|
||||
getPositionConstraint().explicityMovedTo(startDate, endDate,
|
||||
getOrderElement().getOrder().getSchedulingMode());
|
||||
getParent().getOrderElement().getOrder().getSchedulingMode());
|
||||
}
|
||||
|
||||
public TaskPositionConstraint getPositionConstraint() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue