IDEMPIERE-4287 Cache API not thread safe and inconsistent with context parameter (#466)

- Fix PO immutable exception with Workflow Validate process.
This commit is contained in:
hengsin 2020-12-14 21:53:55 +08:00 committed by GitHub
parent 60007e07e6
commit 5e977d427c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class WorkflowValidate extends SvrProcess
*/
protected String doIt () throws Exception
{
MWorkflow wf = MWorkflow.get (getCtx(), p_AD_Worlflow_ID);
MWorkflow wf = new MWorkflow(getCtx(), p_AD_Worlflow_ID, get_TrxName());
if (log.isLoggable(Level.INFO)) log.info("WF=" + wf);
String msg = wf.validate();