IDEMPIERE-806 Cache of lookupfactory must include language. Fixed NPE due to language parameter is now mandatory.
This commit is contained in:
parent
e4acef2dc4
commit
15ca8bd67c
|
@ -297,7 +297,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL
|
|||
String columnName = gridField.getColumnName();
|
||||
int AD_Reference_Value_ID = 0;
|
||||
String validationCode = "";
|
||||
MLookupInfo lookupInfo = MLookupFactory.getLookupInfo(Env.getCtx(), p_WindowNo, 0, infoColumn.getAD_Reference_ID(), null, columnName, AD_Reference_Value_ID, false, validationCode);
|
||||
MLookupInfo lookupInfo = MLookupFactory.getLookupInfo(Env.getCtx(), p_WindowNo, 0, infoColumn.getAD_Reference_ID(), Env.getLanguage(Env.getCtx()), columnName, AD_Reference_Value_ID, false, validationCode);
|
||||
String displayColumn = lookupInfo.DisplayColumn;
|
||||
|
||||
int index = infoColumn.getSelectClause().indexOf(".");
|
||||
|
|
Loading…
Reference in New Issue