I have a node type called unit. It has two fields relevant to this issue, field_unit_type and field_unit_number.

[field_unit_type] [field_unit_number] is specified for Pattern for the title.

I create Unit nodes a few weeks ago, the title is generated correctly. Now, when I create a node, the node title is just [field_unit_type] [field_unit_number], the replacement pattern. This happens if I create a brand new node.

Evaluate PHP in pattern is not turned on.

Recent log entries does not show any problems.

I'm sure there is some interaction between this module and some other module or a setting. I am not sure where to start, but I would be happy to try to help figure it out if you can suggest where I need to check.

Comments

fago’s picture

Category: bug » support

it uses the token module for that replacements... and of course the token modules needs the CCK module for doing the replacments

aren cambre’s picture

Token 5.x-1.5 is installed and enabled. Just yesterday I upgraded from CCK 5.x-1.3 to 5.x-1.4.

aren cambre’s picture

I now have a different site running Token 1.6 and 1.4, and Automatic Nodetitles doesn't work at all. In this case, the entry in the Pattern for the title field is [field_meeting_type], [field_date]. All that appears in the final Title field is [field_meeting_type], [field_date].

PRZ’s picture

I can confirm that Automatice Nodetitles has also stopped working on my site. I have the latest Tokens, CCK, and Auto Nodetitles installed.

Similar behavior - working fine for weeks then just stopped replacing variables.

PRZ’s picture

OK.. found the problem. The replacement variable names changes and you have to resubmit your nodes for the new variables to take affect. (Make sure to update your content types with new variables as well!)

aren cambre’s picture

How did the replacement variable names change?

aren cambre’s picture

Oh, I see it now. Clicking on Replacement Patterns shows the new field names. It seems to work.

This is kind of complicated by the fact that Replacement Patterns sometimes does not show up: http://drupal.org/node/120174

fago’s picture

Status: Active » Fixed

ok, so this one is carified. Just have a look at the new replacement patters of the token module..

Anonymous’s picture

Status: Fixed » Closed (fixed)