tokens that proccessed before node insert to data base (like auto node title) cannot proccess the workbench-access-section if the content can assign only to one section.
I am attach a patch that solve it
| Comment | File | Size | Author |
|---|---|---|---|
| workbench_access.tokens.inc_.patch | 659 bytes | avinoam |
Comments
Comment #1
agentrickardIt would also work if we ensured this value was an array in workbench_access_node_presave().
That seems like a better plan, since I'm seeing array exception handling code in hook_node_insert() and hook_node_presave() in addition to this blind assumption that the data is an array.