Revert "Bug #1513: Lazy exception going to project dashboard"
This reverts commit 8b0b11397f.
This commit is contained in:
parent
c0cb24aade
commit
2ec96fe05e
1 changed files with 5 additions and 2 deletions
|
|
@ -110,8 +110,11 @@ public class DashboardTabCreator {
|
|||
|
||||
@Override
|
||||
protected void afterShowAction() {
|
||||
List<TaskElement> criticalPath = getCriticalPath(mode.getOrder(),
|
||||
getDesktop());
|
||||
List<TaskElement> criticalPath = orderPlanningController.getCriticalPath();
|
||||
if (criticalPath == null) {
|
||||
criticalPath = getCriticalPath(mode.getOrder(),
|
||||
getDesktop());
|
||||
}
|
||||
PlanningState planningState = getPlanningState(mode.getOrder(), getDesktop());
|
||||
Order currentOrder = planningState.getOrder();
|
||||
dashboardController.setCurrentOrder(planningState,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue