Needs work
Project:
Workbench Access
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2012 at 13:45 UTC
Updated:
13 Mar 2012 at 15:42 UTC
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.