function _location_token_values in location.token.inc contains the telling comment "Strip virtual fields?" Well, they are stripped, i. e. they never get loaded. Trying to use [location-country_name_0] as a token got me no result.

Fixing this is easy enough: add the line
$location = location_load_location($location["lid"]);

Comments

yesct’s picture

Status: Active » Postponed (maintainer needs more info)

Please check to see if this is still a problem in the new release. If it is, reply with a new summary and set the status back to active.

If it is...
Can you please make a patch?
http://drupal.org/patch/create

and...
... might be a duplicate somewhere in the many location token issues:
http://drupal.org/project/issues/location?order=last_comment_timestamp&s...

might be a work around in #326755: Location CCK tokens not rendering in private messages

ankur’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing due to lack of follow up. If this problem is still happening and there's a fix for it, please post a patch.