BF [ 1708635 ] RecordInfo NPE for some Table references
http://sourceforge.net/tracker/index.php?func=detail&aid=1708635&group_id=176962&atid=879332
This commit is contained in:
parent
9a2e27203b
commit
6461c83d7a
|
@ -311,8 +311,6 @@ public class RecordInfo extends CDialog
|
||||||
if (OldValue != null)
|
if (OldValue != null)
|
||||||
{
|
{
|
||||||
Object key = OldValue;
|
Object key = OldValue;
|
||||||
if (column.getAD_Reference_ID() != DisplayType.List)
|
|
||||||
key = new Integer(OldValue);
|
|
||||||
NamePair pp = lookup.get(key);
|
NamePair pp = lookup.get(key);
|
||||||
if (pp != null)
|
if (pp != null)
|
||||||
showOldValue = pp.getName();
|
showOldValue = pp.getName();
|
||||||
|
@ -320,8 +318,6 @@ public class RecordInfo extends CDialog
|
||||||
if (NewValue != null)
|
if (NewValue != null)
|
||||||
{
|
{
|
||||||
Object key = NewValue;
|
Object key = NewValue;
|
||||||
if (column.getAD_Reference_ID() != DisplayType.List)
|
|
||||||
key = new Integer(NewValue);
|
|
||||||
NamePair pp = lookup.get(key);
|
NamePair pp = lookup.get(key);
|
||||||
if (pp != null)
|
if (pp != null)
|
||||||
showNewValue = pp.getName();
|
showNewValue = pp.getName();
|
||||||
|
|
Loading…
Reference in New Issue