Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
path.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2013 at 14:43 UTC
Updated:
23 Sep 2014 at 15:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ianthomas_ukComment #2
jody lynnThis is a duplicate of #1160764: URL alias load is inconsistent if there are more then one alias but I think you've found the problem and the solution best.
I'm running a live site in which the inability to change aliases and have them take effect consistently is driving editors crazy. I will try this patch and report back.
Comment #3
jody lynnSteps to reproduce the bug before the patch:
Create two aliases for a node, first alias foo and then alias bar.
View the node. It should show the newer alias, alias bar, as the URL.
Edit the node. It shows the older alias, alias foo in the edit form.
Change the alias when you edit the node. The alias for foo's pid is now changed in the database, but bar still shows when you view the node.
So, basically you can't edit your aliases without understanding the whole system and using the url alias administration page to delete the old one.
Comment #4
sebcorbin commentedThis is a big problem when using globalredirect module for example, because the user is never presented the latest url alias and won't understand why.
Comment #6
sebcorbin commentedTest fail was due to Javascript. Added a range as per comment in the other issue too
Comment #7
dave reidYes, this is a duplicate, we should have only one issue open so I copied the patch from here against D7 over to that issue.