Incorrect tokens for pathauto module

toth_O - August 1, 2009 - 11:50
Project:Zina
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:minor
Assigned:Unassigned
Status:active
Description

Zina seems to create a "Genres" taxonomy term but pathauto report on "/admin/build/path/pathauto";

# You are using the token [vocab] which has a -raw companion available [vocab-raw]. For Pathauto patterns you should use the -raw version of tokens unless you really know what you are doing. See the Pathauto help for more details.
# You are using the token [catpath] which has a -raw companion available [catpath-raw]. For Pathauto patterns you should use the -raw version of tokens unless you really know what you are doing. See the Pathauto help for more details.

It can be seen later for the "genres" category field for creating auto alias ;

NOTE: This field contains potentially incorrect patterns. Problem tokens: vocab, catpath

I was having those warnings for my own taxonomy terms just replacing tokens [vocab] by [vocab-raw] and [catpath] with [catpath-raw] should solve the problem.

#1

ryanlath - August 5, 2009 - 03:52

pathauto is not a core module... and so I'm not that familiar with it...

#2

toth_O - August 21, 2009 - 15:50

You dont need to be familiar i'm not myself a developper.
I was having this error (whith no visible side effects) while seting up how i want my urls to be generated by pathauto

Example.
My user name is toto i have uploaded a video named "supermovie"
I want my videos nodes to be available by /content/video/toto-supermovie

I have to set up pathauto asking him to use [user-raw] [title-raw] (here [toto] and [supermovie])

Thats correct but tokens [user] and [title] are also available but using them will create the warning.
Pathauto don't like them (maybe those tokens are depreciated for it)

I hope you understand me, lack of vocabulary in english is very frustrating.

 
 

Drupal is a registered trademark of Dries Buytaert.