IDEMPIERE-5567 - fix stack overflow logging changelog (#1888)
This commit is contained in:
parent
066cd52b8e
commit
b0dcdb85d7
|
|
@ -370,6 +370,9 @@ public class MSession extends X_AD_Session implements ImmutablePOSupport
|
||||||
int AD_Client_ID, int AD_Org_ID,
|
int AD_Client_ID, int AD_Org_ID,
|
||||||
Object OldValue, Object NewValue, String event)
|
Object OldValue, Object NewValue, String event)
|
||||||
{
|
{
|
||||||
|
// never log change log itself (recursive error)
|
||||||
|
if (AD_Table_ID == MChangeLog.Table_ID)
|
||||||
|
return null;
|
||||||
// Null handling
|
// Null handling
|
||||||
if (OldValue == null && NewValue == null)
|
if (OldValue == null && NewValue == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue