[ 1921832 ] Workflow transaction management deadlock prone

- left out a fix.
This commit is contained in:
Heng Sin Low 2008-03-26 05:02:20 +00:00
parent d72317ab51
commit fe2e2b78c9
1 changed files with 2 additions and 2 deletions

View File

@ -830,10 +830,10 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
// Set Document Status
if (m_po != null && m_po instanceof DocAction && m_docStatus != null)
{
//m_po.load(null);
m_po.load(get_TrxName());
DocAction doc = (DocAction)m_po;
doc.setDocStatus(m_docStatus);
m_po.save(get_TrxName());
m_po.save();
}
}
finally