Closed (fixed)
Project:
Location
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Oct 2008 at 21:28 UTC
Updated:
2 Jan 2014 at 23:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ellanylea commentedMore specifically:
When I go to admin/content/node, and Update path aliases on all my nodes, the paths are correctly set to the country name. Same thing when I delete all aliases and use pathauto's Bulk Update. However, when I edit the node itself at node/16/edit, and click Save, the URL becomes %5Blocation-country_name_0%5D.
Comment #2
ellanylea commentedFound the error. Attached patch generates correct alias in pathauto and imagefield path.
Comment #3
rwohlebThis patch should likely change around the addition of the second line of code. For example:
should probably be:
Comment #4
ellanylea commentedWill you please add the two lines from patch in #2 to location.token.inc to ease the upgrade process and avoid the need to patch every new release of this module.
Many many thanks!
Comment #5
jasontanner commented.
Comment #6
yesct commentedcould someone re-roll the patch and evaluate if the change from #4 is needed in the patch too?
Post back when the patch is ready, and then if one other person can test the patch against the most recent dev version, we should mark this Reviewed and Tested By the Community (RTBC) and hopefully that will help push this toward getting committed.
Comment #7
tedl commentedTried the pathes on the dev version and it works fine. Would be nice if this could be commited... Thx for the patch by the way!
Comment #8
yesct commenteddid you use the patch from #2 with or without the suggested change from #3?
Comment #9
tedl commentedwith #3...
Comment #10
vthirteen commentedcould not apply the patch
Comment #11
chx commentedI have rerolled this patch... more than a year has passed and this is still a problem.
Comment #12
bdragon commentedOH, I get it.
Since the location is being saved, it doesn't get the stuff that's applied on loading applied.
http://drupal.org/cvs?commit=316374
http://drupal.org/cvs?commit=316376
http://drupal.org/cvs?commit=316378
province_name and country_name should work properly now.