Hi,

I'm using workflow_ng's 'Set Breadcrumb' action for my node-type, and use [node:hierarchypath] for the path (says: "To be used with pathauto").

In Pathauto, I have a hyphen set as the general separator. So url is: http://url/content-type/parent-title/page-title

When I use this token in workflow_ng, the breadcrumb url separator is a Plus+, rather than a Hyphen-. This is the case even though in Pathauto settings, I have a Hyphen- set as the separator.

I thought "ok, maybe I'll just use Plus+ as a separator in Pathauto so it will match" just to keep it simple. But when I changed the separator in Pathauto to Plus+, amazingly the workflow_ng breadcrumb url switched to Hyphen- separators (so the two can not match up and I get 'page not found'). Aaaarg!

This is a small issue, but one with big implications for my site, and which I can't seem to track down myself.

I'd be grateful for some clue about where I can change the code (and I will happily try to make a patch from there).

Thanks!
Scott

Comments

fago’s picture

Category: bug » support

workflow-ng allows you to configure the separator? spaces are automatically converted to plus nevertheless, but I can' t remember now if they are excluded. At least one can override the excluded chars.