IDEMPIERE-5904 NPE for Search Fields within Reference Keys (#2086)
- Fix NPE
This commit is contained in:
parent
e3cab6c238
commit
f0f5823691
|
@ -610,6 +610,8 @@ public class MLookupFactory
|
||||||
for (LookupDisplayColumn ldc : list) {
|
for (LookupDisplayColumn ldc : list) {
|
||||||
retValue.lookupDisplayColumnNames.add(ldc.ColumnName);
|
retValue.lookupDisplayColumnNames.add(ldc.ColumnName);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
retValue.lookupDisplayColumnNames = new ArrayList<>(retValue.lookupDisplayColumns);
|
||||||
}
|
}
|
||||||
s_cacheRefTable.put(key.toString(), retValue.cloneIt());
|
s_cacheRefTable.put(key.toString(), retValue.cloneIt());
|
||||||
return retValue;
|
return retValue;
|
||||||
|
|
Loading…
Reference in New Issue