Pathauto is not creating the URL aliases for nodes on bulk update. It creates them for all other things such as users, categories, blog pages, etc, but not for nodes.
I have the following settings for the aliases:
Default path pattern: [type]/[catpath]/[title]
Blog entry paths: [type]/[user]/[catpath]/[title]
Book page paths: [type]/[catpath]/[bookpath]/[title]
Also, when I try to have it generate these aliases, all it does is redirect to the home page with a message that "The configuration options have been saved."
Comments
Comment #1
Plátano en Pijama commentedHi,
Something else I'm noticing.
Some nodes it does generate aliases for. I can't see any rhyme nor reason of which ones it works for on bulk update and which one it does not.
The ones it does not work for however, when I go to edit them to have it generate the alias upon edit, it does not put in the proper category, while it does put in the correct category (in [catpath]) for those for which it works.
It worked on two of the three web links, it doesn't look like it worked for any of the blog entries or stories. they all use the same vocabulary for taxonomy.
It does generate the category properly though for forum topics, but doesn't generate them automatically on bulk update. This uses a different vocabulary than the other node types.
Comment #2
pshadow commentedYes this is happening to me as well. I posted in http://drupal.org/node/92900 as this was the main critical bug that updated the module yesterday.
The following is what looks to be happening with mine. I am using [cat] not [catpath]...
I have two vocabs - topic (fixed list) and tags (free tagging). On adding post it correclty assigns [cat] from the topic list (weighted lower -1). On bulk it seems to do the following now.
If free tag available it will assign [cat] the first free tag. example.com/free-tag/title
If no free tag and one topic it will assign NO [cat]. example.com/title
If no free-tag and 2 topic vocabs it will assign [cat] the second in alphabetical order. example.com/topic2/title
If I edit a post it reverts the url back to intended example.com/[cat]/title
Comment #3
csevb10 commentedHi pshadow
I have verified the problem exactly as you detailed it. Thank you for being so specific.
I'll look into this and see if I can produce a patch in short order.
Comment #4
csevb10 commentedTurns out this is a quick and easy fix.
Please verify, but this fixed all of the problems for me, so I think it should be good to go.
Comment #5
csevb10 commentedModify the status
Comment #6
Plátano en Pijama commentedUpon attempted application of the patch, I get:
patching file pathauto_node.inc
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 339
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Comment #7
gregglesSince this is really a regression from http://drupal.org/node/92900 let's track it there in one place. Marking this as a duplicate.
devbanana and pshadow, your help in testing is greatly appreciated.