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,6 +1868,7 @@ 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);
|
||||||
|
if (value != null)
|
||||||
value = value.replace(" - ", " | ");
|
value = value.replace(" - ", " | ");
|
||||||
displayValue.append(value);
|
displayValue.append(value);
|
||||||
// Append ID
|
// Append ID
|
||||||
|
|
|
@ -1448,6 +1448,7 @@ 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);
|
||||||
|
if (value != null)
|
||||||
value = value.replace(" - ", " | ");
|
value = value.replace(" - ", " | ");
|
||||||
displayValue.append(value);
|
displayValue.append(value);
|
||||||
// Append ID
|
// Append ID
|
||||||
|
|
Loading…
Reference in New Issue