IDEMPIERE-2771 Improve 2pack tracing for errors - fix problem reported by Andrea Bellotto
https://groups.google.com/d/msg/idempiere/8RwwI6duAAs/idONU539CAAJ
This commit is contained in:
parent
894945a441
commit
d3ddf88d83
|
@ -98,7 +98,8 @@ public abstract class AbstractElementHandler implements ElementHandler {
|
|||
detail.setName(objectName);
|
||||
detail.setAction(action);
|
||||
detail.setSuccess(result);
|
||||
detail.setRecord_ID(objectID);
|
||||
if (objectID >= 0)
|
||||
detail.setRecord_ID(objectID);
|
||||
ctx.packIn.addImportDetail(detail);
|
||||
StringBuilder msg = new StringBuilder(action).append(" ");
|
||||
if (detail.getTableName() != null)
|
||||
|
|
Loading…
Reference in New Issue