Closed (fixed)
Project:
Pathauto
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2008 at 13:42 UTC
Updated:
30 May 2008 at 20:25 UTC
Jump to comment: Most recent file
I'm using pathauto on Drupal 6.2. Under "Node path setting", I removed the "Default path pattern" and instead added it to Blog, Forum and Story (i.e., I want to create url aliases for "Page" manually).
However, with "Default" disabled for pathauto, no url aliases are created for Blog entries. If I add "content/[title-raw]" back to the "Default path pattern", it works as expected (even if "Blog" has it set separately), but this way I cannot set the page aliases manually.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 257473_6_alter_form_language_regression.patch | 965 bytes | greggles |
Comments
Comment #1
gregglesI just tried this on both 5.x and 6.x and was unable to repeat the behavior as you describe.
Perhaps you can start with a fresh test site and see if the behavior is easy to repeat? Is there anything else that needs to be done to get this to occur like use of other modules or settings?
Comment #2
rene_w commentedMy bad -- the aliases are actually created after hitting save. The difference I've seen is that with the default pattern set, the "URL path settings" field is grayed out when creating a new entry, whereas with "default" empty and "blog pattern" set, it is emtpy and editable, which looked like automatic aliases are disabled.
Sorry for the confusion & thanks for the help.
Comment #3
gregglesAh, then that's a different bug and I definitely CAN reproduce it :)
Can you test out this patch? There was a bug introduced in #208860: Add per-language patterns for multilingual node types which caused this.
Comment #4
rene_w commentedOK, glad this makes more sense to you ;)
Unfortunately I can't test the patch right away as I'm currently traveling and have only limited ssh access to the live system...
Comment #6
gregglesAnd committed. Let me know if this doesn't fix it for you.
Comment #7
Freso commentedIs there a reason to have
? Looks like cruft to me. :)
Comment #8
gregglesYes, it's mostly on purpose. Also, as you pointed out separately, I just updated this to put those in a nested form so they are cleaner and slightly faster and fixed this in the hook_nodeapi since we do basically the same test there...
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.