Closed (cannot reproduce)
Project:
Token
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2012 at 18:53 UTC
Updated:
26 Jul 2012 at 07:03 UTC
I want to write automaticilly a contact of car rental.
I have created a content type for a "car" (with fiels for the name the license number and another for the people who rents the car with field for name. In this last content, I have added an entity field which points towards the content type "car" and another for the body in which I want to use token insert.
I insert a token for the name of people who rent the car : [node:field-nom] and it works.
and others tokens linked to the car :
These 2 tokens does not work.
Thank you
Comments
Comment #1
attiks commentedToken insert only does the insert, if they don't get replaced it might be a token or entity problem
Comment #2
altbzh commentedok thank you
Comment #3
attiks commentedMoving to token issue queue, if it isn't a token problem, feel free to move it back
Comment #4
dave reidDo these tokens produce the proper values on the node/[nid]/devel/token page of the reference node (if you have Devel module enabled)? If so, then this isn't a token module issue, it's an issue with the module calling token_replace() not providing the correct data.
Comment #5
dave reidComment #6
altbzh commentedSorry Dave : I was away ....
When I look at Devel/token, there is nothing for the token of the entity reference token ... so does it mean that the problem com from entity reference token ?
Thank you
Comment #7
bkloef commentedI just came across the same problem. I wanted to allow one or more nodes to refer back to a "parent" node. Entity reference seemed the way to do this, but my URL aliases were completely missing this segment. Activating devel revealed no value for the entity reference token.