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

CommentFileSizeAuthor
workbench_access.tokens.inc_.patch659 bytesavinoam

Comments

agentrickard’s picture

Status: Needs review » Needs work

It 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.