IDEMPIERE-1035 hard to find exceptions when using restrictive rights … (#21)
* IDEMPIERE-1035 hard to find exceptions when using restrictive rights - Improve not access to workflow message * IDEMPIERE-1035 hard to find exceptions when using restrictive rights - Improve not access to workflow message
This commit is contained in:
parent
94169c0af4
commit
a77a991b9f
|
@ -2804,7 +2804,12 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
if (adTabbox.getSelectedGridTab().getRecord_ID() <= 0)
|
if (adTabbox.getSelectedGridTab().getRecord_ID() <= 0)
|
||||||
return;
|
return;
|
||||||
else
|
else
|
||||||
|
try {
|
||||||
AEnv.startWorkflowProcess(adTabbox.getSelectedGridTab().getAD_Table_ID(), adTabbox.getSelectedGridTab().getRecord_ID());
|
AEnv.startWorkflowProcess(adTabbox.getSelectedGridTab().getAD_Table_ID(), adTabbox.getSelectedGridTab().getRecord_ID());
|
||||||
|
} catch (Exception e) {
|
||||||
|
CLogger.get().saveError("Error", e);
|
||||||
|
throw new ApplicationException(e.getMessage(), e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue