IDEMPIERE-1516 Performance indicators display fails when role user assigment inactive
This commit is contained in:
parent
c50915609c
commit
9acb39e8c6
|
@ -94,6 +94,8 @@ public class MGoal extends X_PA_Goal
|
||||||
DB.close(rs, pstmt);
|
DB.close(rs, pstmt);
|
||||||
rs = null; pstmt = null;
|
rs = null; pstmt = null;
|
||||||
}
|
}
|
||||||
|
if (list.size() == 0)
|
||||||
|
s_log.log (Level.WARNING, Msg.getMsg(ctx, "FindZeroRecords"));
|
||||||
MGoal[] retValue = new MGoal[list.size ()];
|
MGoal[] retValue = new MGoal[list.size ()];
|
||||||
list.toArray (retValue);
|
list.toArray (retValue);
|
||||||
return retValue;
|
return retValue;
|
||||||
|
|
|
@ -16,6 +16,7 @@ public class WViewPI extends ADForm {
|
||||||
options.chartHeight = 180;
|
options.chartHeight = 180;
|
||||||
options.chartWidth = 180;
|
options.chartWidth = 180;
|
||||||
WPAPanel paPanel = WPAPanel.get(options);
|
WPAPanel paPanel = WPAPanel.get(options);
|
||||||
|
if (paPanel != null)
|
||||||
appendChild(paPanel);
|
appendChild(paPanel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue