diff --git a/base/src/org/compiere/model/MSetup.java b/base/src/org/compiere/model/MSetup.java index bbbe69dbac..87242fa95e 100644 --- a/base/src/org/compiere/model/MSetup.java +++ b/base/src/org/compiere/model/MSetup.java @@ -1312,10 +1312,10 @@ public final class MSetup else log.log(Level.SEVERE, "CashBook NOT inserted"); // - m_trx.commit(); + boolean success = m_trx.commit(); m_trx.close(); - log.info("fini"); - return true; + log.info("finish"); + return success; } // createEntities /** diff --git a/base/src/org/compiere/process/AllocationReset.java b/base/src/org/compiere/process/AllocationReset.java index 3992124bf2..78a6830c3b 100644 --- a/base/src/org/compiere/process/AllocationReset.java +++ b/base/src/org/compiere/process/AllocationReset.java @@ -171,7 +171,7 @@ public class AllocationReset extends SvrProcess success = true; } if (success) - m_trx.commit(); + success = m_trx.commit(); else m_trx.rollback(); return success; diff --git a/base/src/org/compiere/wf/MWFActivity.java b/base/src/org/compiere/wf/MWFActivity.java index b748ff55b4..c2688c5baf 100644 --- a/base/src/org/compiere/wf/MWFActivity.java +++ b/base/src/org/compiere/wf/MWFActivity.java @@ -715,7 +715,7 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable //setWFState (done ? StateEngine.STATE_Completed : StateEngine.STATE_Suspended); //end vpj-cd e-evolution 03/08/2005 PostgreSQL /**** Trx End ****/ - m_trx.commit(); + m_trx.commit(true); m_trx.close(); m_trx = null; //begin vpj-cd e-evolution 03/08/2005 PostgreSQL