Closed (works as designed)
Project:
Pathauto
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2008 at 22:05 UTC
Updated:
30 Apr 2008 at 12:38 UTC
If you use an illegal pattern (eg, [user-raw]/[title-raw] instead of [author-name-raw]/[title-raw] on blog entry paths), you get a warning, but aliases are generated anyway.
Comments
Comment #1
gregglesWhat do you suggest it do instead?
Comment #2
xolotl commentedI think user should be warned and aliases with illegal patterns should NOT be generated. I don't see a use case for generating aliases with illegal aliases.
Comment #3
gregglesUsers are already warned on the admin/settings/pathauto page. If that doesn't happen for you then that is a bug.
About the warning, what if you _really_ wanted to have [user-raw] within the URL? How should Pathauto know that in one case [user-raw] is a mistake and in another [user-raw] is on purpose?
Comment #4
gregglesAs it stands, this is by design. There is a warning, but doing more would be overly restrictive, in my opinion.