Closed (fixed)
Project:
Workflow
Version:
7.x-2.2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2014 at 16:19 UTC
Updated:
11 Apr 2014 at 19:11 UTC
Jump to comment: Most recent
When submodule 'Workflow Admin UI' is disabled (which is preferred in a stable production environment), and a role is created, then hook_user_role_insert() is not called, since it is local to Admin UI module..
The hook must be moved to the main module.
Comments
Comment #1
johnvThis is fixed in this commit by moving the hook to the main module.
Comment #2
johnvOops, this causes a WSOD when adding a role with Workflow Admin UI disabled.
It also revealed another problem. Both are addressed in a follow-up issue #2228457: Do NOT enable all roles for Transitions, upon enabling Workflow UI module.