When constructing the allowed transitions in workflow_field_choices() / WorkflowState->getOptions(), no options are returned, when $FORCE is TRUE.
Also, the results of the 'transition permitted' hook are not in accordance with the documentation: an array is expected in code, instead of the more logical and documented boolean.
Comments
Comment #1
johnvThis is committed here.
The change in the return code is documented here: #2148925: Arguments and return code in hook_workflow('transition permitted', ...)