Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Fixed
-
None
-
None
-
None
-
Quasar
-
Puma Sprint 237
Description
Workflow methods like
WorkflowContextAware#getWorkflowContext DocumentWorkflow#hints DocumentWorkflow#getBranch DocumentWorkflow#listBranches etc
are non-state-modifying workflow methods which never should result in a workflow session save. The workflow methods are already marked correctly through @WorkflowAction, for example:
@WorkflowAction(loggable = false, mutates = false) Set<String> listBranches() throws WorkflowException;
Only in WorkflowManagerImpl.WorkflowInvocationHandler#invoke only hard-coded 'hints' method is tested to avoid a session save.