Hi,

I use the following path: /articles/%category/%site in my D6 panel page.
%category is a Taxonomy term: ID (Argument Type: Term Name)
%site is a Taxonomy term: ID (Argument Type: Term Name)

In context:

Argument 1 Taxonomy term: ID
Keyword: %category
%category:description --> Term Description
%category:tid --> Term ID
%category:name --> Term name
%category:name_dashed --> Term name, lowercased and spaces converted to dashes
%category:vid --> Vocabulary ID

Argument 2 Taxonomy term: ID 2
Keyword: %site
%site:description --> Term Description
%site:tid --> Term ID
%site:name --> Term name
%site:name_dashed --> Term name, lowercased and spaces converted to dashes
%site:vid --> Vocabulary ID

In my taxonomy terms, I have one called 'Economie' and another called 'Paul Jorion'

When I try the following url:
'/articles/economie/paul-jorion', the page is no found.

When I try the following url:
'/articles/economie/Paul Jorion', I have access to the page.

It seems there is a bug in %variable:dashed_name?

Comments

Anonymous’s picture

In fact '/articles/economie/paul jorion' also works.
So it seems the space is not converted in a dash?

merlinofchaos’s picture

That's correct. There is currently no conversion done.

Anonymous’s picture

Hello merlinofchaos,

Will this problem be fixed on Drupal 6? Or it is not planned ?
If not, is it this possible to launch a bounty here?

Regards,

Letharion’s picture

Version: 6.x-3.10 » 7.x-3.x-dev

It would need to be fixed in D7 before back-ported to D6.

If we do this conversion, how do you propose we handle the collision when there's a "paul jorion", and a "paul-jorion" in the same vocabulary, which should be matched?

My initial reaction here is to not implement this, but rather generate aliases and redirects where relevant.