Hello,
We've moved from Drupal 4.7 with ancient pathauto module ;) to a shiny fresh 5.5 installation and guess what: pathauto 2.0!
All seemed perfect, following the upgrade guides, but now I discovered that some aliases are generated "wrongly". Let me explain:
We have a strictly hierarchically looking website, menus and nodes are shown like: A/B/C/D (not using evil index aliases). Pathauto used to create aliases like A/B/C/D/title_of_node, this is [menu]/[menupath]. Since 2.0, menu level A is not referenced in the alias, but B is used twice:
Old pathauto behaviour: Created A/B/C/D/title alias (= [menu]/[menupath])
New (wrong) behaviour: Creates B/B/C/D/title ( = [menu]/menupath-raw]).
Is there anything I am missing here? Please help, I am out of ideas.
Thanks,
Stephan
Comments
Comment #1
Anonymous (not verified) commentedI've now cleaned out the entire pathauto module from the db and did a fresh installation with the 2.x-dev version, but the problem persists.
For debugging purposes, I have set the "Pattern for all Book page paths:" to
[menu]/spacer/[menupath-raw]. But the URLs created are likeThough "mynode" belongs to the menu "Verein", so the correct URL would be:
as it has been with our old 4.7 installation.
Can somebody please look at this? This is completely blocking our upgrade to 5.5.
Thanks a lot!
Stephan
Comment #2
gregglesWhich version of token are you using?
Comment #3
gregglesI just remember that this was a bug in the 5.x-1.9 version which was fixed but has not made it to an official release yet. If you use the -dev release it should work.
If you can help test that (post your results back here) then I'll make an official release for it.
Thanks.
Comment #4
Anonymous (not verified) commentedI am using 5.x-1.9 of token. Will try the -dev now.
Comment #5
Anonymous (not verified) commentedI've now updated token to -dev (although the version information on the modules page still shows 1.9) but it doesn't fix the problem (in combination with -dev of pathauto).
I'm happy to test whatever you'd like me to help with, since this is my testing site.
Thanks for your help,
Stephan
Comment #6
gregglesIf it still says that it's 1.9 then the update didn't work. Maybe try disabling pathauto, completely removing token, and upgrading it.
Comment #7
Anonymous (not verified) commentedYes, fixed!
Thanks,
Stephan
Comment #8
Anonymous (not verified) commentedYes, fixed!
Thanks,
Stephan
Comment #9
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.