* Part of the fix for bug [1628515]
This commit is contained in:
parent
b2cce7d61f
commit
6d9d26be64
|
|
@ -2461,7 +2461,9 @@ public abstract class PO
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (localTrx != null)
|
if (localTrx != null)
|
||||||
localTrx.commit();
|
success = localTrx.commit();
|
||||||
|
if (success)
|
||||||
|
{
|
||||||
// Change Log
|
// Change Log
|
||||||
MSession session = MSession.get (p_ctx, false);
|
MSession session = MSession.get (p_ctx, false);
|
||||||
if (session == null)
|
if (session == null)
|
||||||
|
|
@ -2498,6 +2500,11 @@ public abstract class PO
|
||||||
log.fine("[" + m_trxName + "] - complete");
|
log.fine("[" + m_trxName + "] - complete");
|
||||||
m_attachment = null;
|
m_attachment = null;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
log.warning("Not deleted");
|
||||||
|
}
|
||||||
|
}
|
||||||
if (localTrx != null)
|
if (localTrx != null)
|
||||||
localTrx.close();
|
localTrx.close();
|
||||||
localTrx = null;
|
localTrx = null;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue