Bug #1513: Lazy exception going to project dashboard
Not all the elements of the CriticalPath were reattached. In the code there are two ways of retrieving the CriticalPath, one using orderPlanningController and another one using CriticalPathBuilder. The latter always works. FEA: ItEr76S04BugFixing
This commit is contained in:
parent
608a010994
commit
8b0b11397f
1 changed files with 2 additions and 5 deletions
|
|
@ -110,11 +110,8 @@ public class DashboardTabCreator {
|
|||
|
||||
@Override
|
||||
protected void afterShowAction() {
|
||||
List<TaskElement> criticalPath = orderPlanningController.getCriticalPath();
|
||||
if (criticalPath == null) {
|
||||
criticalPath = getCriticalPath(mode.getOrder(),
|
||||
getDesktop());
|
||||
}
|
||||
List<TaskElement> 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