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:
Carlos Ruiz 2012-02-18 11:21:10 -05:00
parent 893f902c2f
commit b46f81cad4
1 changed files with 3 additions and 0 deletions

View File

@ -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;