Anyone else experiencing this?

I have Auto Nodetitles on. It's set to "automatically generate the title and hide the title field." As hoped, I'm able to automatically generate the title using tokens for several fields on the Node.

However, I have a related rule to fetch the newly created node by its NID, change the body value, and then save the node again. The rule fires, but the body value doesn't change. No problems show up in my DB log. It shows the rule is firing as expected. I can't see where or why the body value isn't being changed.


tvilms’s picture

The bug is basically this... if you use Automatic Nodetitles, then you won't be able to use the [node:body:value] token. The workaround I used is to set the body value by PHP, like so.

$node->body[LANGUAGE_NONE][0]['value'] = 'text';