Closed (fixed)
Project:
Pathauto
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2007 at 21:41 UTC
Updated:
10 Aug 2010 at 08:10 UTC
I noticed that when doing either a bulk update, or when allowing a user to update their username, new feed aliases are added, but the old ones don't go away. In particular, the blog feed and tracker feed don't get updated. This can be an issue when a new user joins who has the changed user's old username.
Comments
Comment #1
ddyrr commentedI just turned on my brain and realized that deleting the old one may not be desirable... although, in some instances it is, but that is a smaller issue.
Comment #2
gregglesThis seems like a normal issue to me - they should respect the update action settings like all other aliases.
Can you confirm this is still in 5.x-1.2?
Thanks!
Comment #3
ddyrr commentedYes. I upgraded, ran another test, and found that this is still an issue. The blog feed and tracker feed were both left behind with the old username, while the same entries were added for the new username. I should also mention that my paths are set like this:
blog/[user]
track/[user]
which creates fee entries like this:
blog/[user]/feed
track[user]/feed
I think usually they are set up like this:
[user]/blog
[user]/track
so I don't know if that's an issue. I couldn't set mine up that way, because it was screwing up my profiles and causing them to have [user]-1 instead of just [user]. If that was a known issue that has been fixed, then I could just change it to the usual [user]/blog, if that is what is causing the problem with the feeds. Thanks
Comment #4
Leeteq commentedSubscribing.
Comment #5
gregglesSo, the behavior is easy to repeat:
1. Enable blog, feed aliases for blogs, tracker, feed aliases for trackers
2. Enable the "create a new alias, replacing the old one"
3. Create a user
4. Edit the user's name
Here's the raw database dump that shows what happens:
However, as you point out in #1, having duplication here in the name of preserving links might be OK...if the blogs/qwerasdf/feed alias gets deleted then anyone who has subscribed to it will no longer get updates - instead the reader will very likely fail silently (at least my readers fail silently on 404s).
I'm posting an RFC on groups.drupal.org - hopefully that will get some input on it.
Comment #6
gregglesand note that http://drupal.org/node/91748 has a fix for it.
Comment #7
gregglesIf we fix this it will be in the 2.x branch.
Also, changing to a "task" until we determine if it's a bug or not.
Comment #8
Freso commented"If we fix this it will be in the 2.x branch." - 2.x branch of 6.x, that is.
Comment #9
dave reidI can't duplicate this with the current code. It seems to be replacing the existing aliases perfectly across all branches. Marking as fixed. If this can be re-confirmed using the latest code from CVS, please change this issue's status back to active.