IDEMPIERE-3809 Error when packin a workflow node by a 2Pack

This commit is contained in:
Ricardo Santana 2018-12-15 16:32:06 +01:00
parent 6bf4456dfc
commit 867a86250d
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ public class MWFNode extends X_AD_WF_Node
}
if (getAD_Column_ID() > 0) {
// validate that just advanced roles can manipulate secure content via workflows
MColumn column = MColumn.get(getCtx(), getAD_Column_ID());
MColumn column = MColumn.get(getCtx(), getAD_Column_ID(), get_TrxName ());
if (column.isSecure() || column.isAdvanced()) {
if (! MRole.getDefault().isAccessAdvanced()) {
log.saveError("AccessTableNoUpdate", Msg.getElement(getCtx(), column.getColumnName()));