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
Comment #1
Anonymous (not verified) commentedIn fact '/articles/economie/paul jorion' also works.
So it seems the space is not converted in a dash?
Comment #2
merlinofchaos commentedThat's correct. There is currently no conversion done.
Comment #3
Anonymous (not verified) commentedHello 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,
Comment #4
Letharion commentedIt 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.