I ran into an issue with tokens when I tried creating the following-
A site that creates 3 nodes of different content types when a user signs up. Using content_profile, pathauto, tokens and rules. The site is displaying two additional fields on the registration page by using content_profile. The two fields are first_name and last_name. When a user registers the site needs to create three nodes with their first and last name in the titles. The url needs to look something like /user/[first_name]-[last_name]/node-type.
The tokens are NOT working because they are not available right away when the user creates an account. When I delete the aliases and bulk generate them (without changing anything) the tokens work and the URL displays the way that it should. The problem occurs when paths and titles are created automatically on registration.
The RealName module also runs into this problem.
It's important to note that the content type that uses content_profile with the two fields works perfectly. Both for pathauto and for the node titles (Rules). The problem only occurs on other nodes that are created (the three additional nodes in this case).
Comments
Comment #1
g.k CreditAttribution: g.k commentedI am having same issue with both Real Name & Page title tokens. The token values are not available during node creation but when you update the node, it's working fine.
Comment #2
scalp CreditAttribution: scalp commentedThis also causes an issue with OpenLayers Geocoder if you try to autocomplete fields on registration using that module.
Comment #3
Dave ReidUntil a specific bug in the code can be pointed out, this is a support request.
Comment #4
samgen CreditAttribution: samgen commentedSame issue here. I can't point out where the bug is since I'm not a Drupal developer, but I hope someone will help us with this.
Comment #5
Dave ReidComment #6
Dave ReidNo response that provides the information needed. Closing as cannot reproduce.