BF [ 1708835 ] Document Status=Completed but Processed=N
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=1708835&group_id=176962 Fixed some identation issues.
This commit is contained in:
parent
0a755dd675
commit
2c2ef34172
|
@ -714,10 +714,20 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
|
|||
// is cause that PostgreSQL wait into transaction idle
|
||||
//setWFState (done ? StateEngine.STATE_Completed : StateEngine.STATE_Suspended);
|
||||
//end vpj-cd e-evolution 03/08/2005 PostgreSQL
|
||||
|
||||
/**** Trx End ****/
|
||||
// teo_sarca [ 1708835 ]
|
||||
// Reason: if the commit fails the document should be put in Invalid state
|
||||
try {
|
||||
m_trx.commit(true);
|
||||
m_trx.close();
|
||||
m_trx = null;
|
||||
} catch (Exception e) {
|
||||
// If we have a DocStatus, change it to Invalid, and throw the exception to the next level
|
||||
if (m_docStatus != null)
|
||||
m_docStatus = DocAction.STATUS_Invalid;
|
||||
throw e;
|
||||
}
|
||||
//begin vpj-cd e-evolution 03/08/2005 PostgreSQL
|
||||
//Reason: setWFState moved for the first trx be finished
|
||||
setWFState (done ? StateEngine.STATE_Completed : StateEngine.STATE_Suspended);
|
||||
|
|
Loading…
Reference in New Issue