Closed (cannot reproduce)
Project:
Location
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Aug 2009 at 22:35 UTC
Updated:
17 Feb 2012 at 23:49 UTC
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
Comment #1
yesct commentedPlease 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
Comment #2
ankur commentedClosing due to lack of follow up. If this problem is still happening and there's a fix for it, please post a patch.