IDEMPIERE-2768 Quick Entry for BPartner failing with SaveError

This commit is contained in:
Carlos Ruiz 2015-08-12 13:17:16 -05:00
parent 6ff666e30c
commit 960d91a665
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -2303,8 +2303,8 @@ public abstract class PO
}
}
m_newValues = new Object[size];
}
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;