* 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
|
||||
{
|
||||
if (localTrx != null)
|
||||
localTrx.commit();
|
||||
success = localTrx.commit();
|
||||
if (success)
|
||||
{
|
||||
// Change Log
|
||||
MSession session = MSession.get (p_ctx, false);
|
||||
if (session == null)
|
||||
|
@ -2498,6 +2500,11 @@ public abstract class PO
|
|||
log.fine("[" + m_trxName + "] - complete");
|
||||
m_attachment = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
log.warning("Not deleted");
|
||||
}
|
||||
}
|
||||
if (localTrx != null)
|
||||
localTrx.close();
|
||||
localTrx = null;
|
||||
|
|
Loading…
Reference in New Issue