Slashes stripped from Pathauto tokens

sun - February 2, 2009 - 18:18
Project:Menu Trails
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:sun
Status:closed
Description

All path or URL alias token names need to end in "path", "path-raw", or "alias", so Pathauto does not strip the slashes from token values.

This is some magic code in pathauto_clean_token_values() in pathauto.inc.

AttachmentSize
menutrails-DRUPAL-6--1.pathauto-tokens.patch1.81 KB

#1

qbnflaco - May 4, 2009 - 01:47

I tried this patch and it didn't work for me. :-( It's still not getting the proper path using pathauto. It's still ignoring the menu trail parents.

#2

sun - July 24, 2009 - 15:08

Did you change your pathauto tokens to use [menu-trail-parents-path-raw] before testing?

#3

sun - July 24, 2009 - 17:21
Status:needs review» fixed

The current tokens cannot work at all. So no module update required. Hence, committed.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

#4

System Message - August 7, 2009 - 17:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.