Hey,
I recently made the switch from 5.x to 6.x. However, as the Pathauto module stopped generating aliases correctly, I completely uninstalled Pathauto and reinstalled it and deleted all existing aliases. I entered my old patterns again, but when I tried to generate new aliases only 2 aliases were being created at a time (although one time it generated 8).
I wasn't patient enough to try it until I saw that Page aliases were being generated, so I tried editing a page to see if the path changes were applied. Without any error in Verbose mode, the changes were not applied, and the page got a standard /node/123/ path. The URL pattern for pages is set to [menupath-raw], and the respective page was correctly placed in the menu.
I find this particularly strange because the Page node type is a core module, and should have upgraded completely correctly from the 5.x->6.x migration. The Pathauto module is also cleanly installed, and should therefore not inherit any strange behavior due to a failure in migration.
I'm using the latest 6.x Token module; 6.x-1.10.
If you have any ideas (however sure you're about them helping with solving the problem), I'd really appreciate hearing them.
Regards,
Friðrik Már
Comments
Comment #1
gregglesNothing that you've said points me to an obvious problem. There is a setting under general settings for the number of aliases to generate in a bulk update - perhaps you could increase that value to 500 or something like that and try again.
Beyond that, certain patterns are not fully supported by the token module at this point (menupath being one, I think). So, you may want to look in the token module's issue queue for patches that you could use and you may want to try experimenting with different patterns for your paths to see if that is the problem.
Comment #2
Oval commentedYou're as right as they come.
When I upped the limit to 500, it ran once and imported 289. Then, I ran it again and it imported 0, so it seems to have worked for every URL that it could handle. I guess it must've been a variable that persisted despite my uninstall.
However, I noticed that no node type configured to use [menupath-raw] was imported, so it seems there's a problem with the Token module.
Thanks a lot for your help, not to mention responding this fast. I now know where the problem is and will be able to work from there, starting with the Token issue tracker; it makes things a tremendous lot easier. I really appreciate it.
Regards,
Friðrik Már
Comment #3
gregglesGreat to hear - thanks for responding back with your progress.
I'm marking this fixed for now.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.