IDEMPIERE-2768 Quick Entry for BPartner failing with SaveError
This commit is contained in:
parent
6ff666e30c
commit
960d91a665
|
@ -2951,7 +2951,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
|||
|
||||
if (!Util.isEmpty(retValue)) // interrupt on first error
|
||||
{
|
||||
log.severe (retValue);
|
||||
log.config(retValue); // no need to save an AD_Issue error on each callout
|
||||
return retValue;
|
||||
}
|
||||
} // for each callout
|
||||
|
|
|
@ -2303,8 +2303,8 @@ public abstract class PO
|
|||
}
|
||||
}
|
||||
m_newValues = new Object[size];
|
||||
m_createNew = false;
|
||||
}
|
||||
m_createNew = false;
|
||||
if (!newRecord)
|
||||
CacheMgt.get().reset(p_info.getTableName());
|
||||
else if (get_ID() > 0 && success)
|
||||
|
@ -2669,10 +2669,10 @@ public abstract class PO
|
|||
else
|
||||
{
|
||||
if (m_trxName == null)
|
||||
log.log(Level.WARNING, "Update return " + no + " instead of 1"
|
||||
log.saveError("SaveError", "Update return " + no + " instead of 1"
|
||||
+ " - " + p_info.getTableName() + "." + where);
|
||||
else
|
||||
log.log(Level.WARNING, "Update return " + no + " instead of 1"
|
||||
log.saveError("SaveError", "Update return " + no + " instead of 1"
|
||||
+ " - [" + m_trxName + "] - " + p_info.getTableName() + "." + where);
|
||||
}
|
||||
return ok;
|
||||
|
|
Loading…
Reference in New Issue