[Bug #1076] Fixed NullPointerException going to Gantt view when project is not scheduled.
FEA: ItEr74S04BugFixing
This commit is contained in:
parent
c3f5718f24
commit
dfb8f372c4
1 changed files with 5 additions and 3 deletions
|
|
@ -1726,9 +1726,11 @@ public abstract class OrderPlanningModel implements IOrderPlanningModel {
|
|||
}
|
||||
|
||||
private void updateCriticalPathProgress(TaskGroup rootTask) {
|
||||
rootTask
|
||||
.updateCriticalPathProgress((List<TaskElement>) planningState
|
||||
.getPlanner().getCriticalPath());
|
||||
Planner planner = planningState.getPlanner();
|
||||
if (planner != null) {
|
||||
rootTask.updateCriticalPathProgress((List<TaskElement>) planner
|
||||
.getCriticalPath());
|
||||
}
|
||||
}
|
||||
|
||||
private void setAdvancePercentage(BigDecimal value) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue