Closed (fixed)
Project:
Node Hierarchy
Version:
5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2007 at 21:11 UTC
Updated:
18 Feb 2008 at 05:29 UTC
In Pathauto I have a content type set to use [fullhierarchytitlepath-raw] as its path. If I create a node whose title ends in one of the "strings to remove" for Pathauto, then create children of that node, the path of the children includes an extra separator after the parent title. For instance, the path of "Test Page B", which is a child of "Test Page A" comes out as /test-page-/test-page-b (since "A" is a string removed by Pathauto). However, the path of "Test Page A" by itself is correct, with no trailing separator.
I'm not really sure whether this is a bug in Node Hierarchy or Pathauto; please move if appropriate.
Comments
Comment #1
ronan commentedTry using [fullhierarchypath] and let me know if it has the same issue. This is the recommended token to use as it uses the node's parent's url to build the url. This means it will respect any changes you have made to urls of nodes in the hierarchy. It might also help solve this problem.
Comment #2
Grantovich commentedUsing that token does appear to solve the problem. I now no longer remember why I used [fullhierarchytitlepath-raw] in the first place, so I guess I'll just use [fullhierarchypath] instead.
Comment #3
ronan commented