Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comments
Comment #1
tvilms CreditAttribution: tvilms commentedThe 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.
Comment #2
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs for DrupalFit commented