Closed (fixed)
Project:
Workflow
Version:
8.x-1.0-beta6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2017 at 15:11 UTC
Updated:
10 Nov 2017 at 16:59 UTC
Jump to comment: Most recent
This is a D8 version of #2724199: workflow_execute_transition() does not respect FORCE parameter
and a follow-up issue for #2906773: VBO Action 'Change a node to next Workflow state' has no Apply button
When executing a transition from outside the node, eg, with actions, no calls to $transition->isValid() or #transition->isAlloed() is done.
This should be fixed.
Comments
Comment #2
johnvSome analysis reveils that the problem is only for Actions.
Comment #4
johnvRemoval of some code does the trick.
The removed code was duplicating correct working code and contained an error: it always sets the FORCE parameter to TRUE.