I have a CCK date field of which I'd like the start and end date to be used in the node title. To achieve this I use token [field_date-view].

The strangest thing happens... As soon as I edit the start and/or end date of an existing node, the previous values of this field are still used in the node title. Only when I edit and save the node again (without changing anything) the node title is changed accordingly.

I also tried the 6.x-1.x-dev, same problem.

Comments

Tino’s picture

Although it is not a fix, I found a workaround using Rules module:

Add rule on event: After updating existing content

If: Saved content is ... (Training in my case)

Do: Execute custom PHP code

auto_nodetitle_set_title($node);
node_save($node);

Thanks @takinola: http://drupal.org/node/360359#comment-1460918
via @OnlineWD™ in http://drupal.org/node/797904

Sinan Erdem’s picture

Confirming.

gaurav.kapoor’s picture

Issue summary: View changes
Status: Active » Fixed
gaurav.kapoor’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.