merge from 11334
* See identifiers columns when delete records - Fix NPE problem reported in forums https://sourceforge.net/projects/adempiere/forums/forum/610548/topic/3525006 Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2877111
This commit is contained in:
parent
3c456c93ff
commit
06c846a1d3
|
@ -1868,7 +1868,8 @@ public final class APanel extends CPanel
|
||||||
} else {
|
} else {
|
||||||
final int id = m_curTab.getKeyID(i);
|
final int id = m_curTab.getKeyID(i);
|
||||||
String value = DB.getSQLValueStringEx(null, sql, id);
|
String value = DB.getSQLValueStringEx(null, sql, id);
|
||||||
value = value.replace(" - ", " | ");
|
if (value != null)
|
||||||
|
value = value.replace(" - ", " | ");
|
||||||
displayValue.append(value);
|
displayValue.append(value);
|
||||||
// Append ID
|
// Append ID
|
||||||
if (displayValue.length() == 0 || CLogMgt.isLevelFine())
|
if (displayValue.length() == 0 || CLogMgt.isLevelFine())
|
||||||
|
|
|
@ -1448,7 +1448,8 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
} else {
|
} else {
|
||||||
final int id = curTab.getKeyID(i);
|
final int id = curTab.getKeyID(i);
|
||||||
String value = DB.getSQLValueStringEx(null, sql, id);
|
String value = DB.getSQLValueStringEx(null, sql, id);
|
||||||
value = value.replace(" - ", " | ");
|
if (value != null)
|
||||||
|
value = value.replace(" - ", " | ");
|
||||||
displayValue.append(value);
|
displayValue.append(value);
|
||||||
// Append ID
|
// Append ID
|
||||||
if (displayValue.length() == 0 || CLogMgt.isLevelFine())
|
if (displayValue.length() == 0 || CLogMgt.isLevelFine())
|
||||||
|
|
Loading…
Reference in New Issue