The guard is already checked once using isWorkflowMethodSupported, and
notify* methods are never called if the guard evaluates to False. This check looks costly and useless. The only possibility (?) would be that one of your Interaction workflow guards checks kw['workflow_method_args'] and returns a different result depending on when _checkTransitionGuard is called. That seems like a tricky (wrong? unlikely?) usecase. If you are in this case, let me know, and if needed I'll engineer a fast guard check that is only ever checked once. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42725 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment