Closed (duplicate)
Project:
Pathauto
Version:
6.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2009 at 15:32 UTC
Updated:
8 Feb 2010 at 14:09 UTC
Jump to comment: Most recent file
Comments
Comment #1
math_1048 commentedHello, I get this problem too, please help
thanks and best regards
Comment #2
math_1048 commentedHello, I do trying to fix this problem, by do change in this patch
hope this patch work with you too,
thanks
Comment #3
dave reidI can't duplicate this. Maybe it's a JavaScript error? Check your console logs.
Comment #4
Markpanzee commentedI tried the patch, but it didn't seem to make any difference.
Comment #5
Markpanzee commentedHmm, I checked my console logs and didn't find anything that looks like it could be relevant.
Also, for what it's worth, this is a problem that all users on my site are having, not just me, so it is probably a problem with my drupal config rather than a browser issue.
Comment #6
kmillecam commentedI'm seeing a similar issue. Was introduced with the upgrade to pathauto 1.2
I'm noticing that a few of my articles are now referred to by their node # instead of their path alias.
Will see if I can dig up more evidence.
Comment #7
kmillecam commentedI can reproduce this now.
It appears that when you _edit_ a node the path alias checkbox becomes unchecked.
To repro:
1) Create a node
2) Check the url to make sure an alias was created.
3) Edit the node
4) Look at the "Automatic alias" checkbox to see whether it is checked or not.
In my testing (several nodes across several content types) the alias was created correctly on submit but when I went back to edit the Automatic alias checkbox was unchecked and the URL reverted to /node/nid
Comment #8
kmillecam commentedI've done some more testing and it appears that this only happens when you're editing your own article.
When I try to edit someone else's article, the checkbox is unchecked but the text box does include text that is used to generate the URL.
When I try to edit my own article, the checkbox is unchecked and the text box does _not_ include the previously-created url text. Thus the old alias is replaced with node/nid.
Comment #9
dave reid@kmillecam: What's your alias pattern for the node type you're editing?
Comment #10
kmillecam commented[type]/[title-raw]
Comment #11
dave reidMaybe check your JavaScript logs to see if something's going wrong in the JS before the pathauto.js executes?
Comment #12
kmillecam commentedSorry Dave, I didn't know I had JavaScript logs.
Where might I look for these handy records?
Comment #13
dave reidIf you're using Firefox, should just be Tools > Error Console.
Comment #14
kmillecam commentedOh, /that/ JavaScript log.
Thanks for the direction.
I'll take a look.
Comment #15
kmillecam commentedNope, no JavaScript errors.
Comment #16
kmillecam commentedReverting to Pathauto 6.x-1.1 fixed the problem.
Comment #17
dave reidMaybe see if #614832: Auto alias fails with some content types fixes this problem.
Comment #18
gregglesYeah, this seems like a duplicate.
Comment #19
garbo commentedI noticed that pathauto and the "node-as-block" module don't work well together.
see: http://drupal.org/node/707956