IDEMPIERE-68 Current record could disappear after executing a button
Fix NPE when the actual row is deleted http://jira.idempiere.com/browse/IDEMPIERE-68
This commit is contained in:
parent
893f902c2f
commit
b46f81cad4
|
@ -2740,6 +2740,9 @@ public class GridTable extends AbstractTableModel
|
|||
return null;
|
||||
|
||||
Object[] rowData = getDataAtRow(row);
|
||||
if (rowData == null)
|
||||
return null;
|
||||
|
||||
String where = getWhereClause(rowData);
|
||||
|
||||
return where;
|
||||
|
|
Loading…
Reference in New Issue