I changed the alias pattern for the blog content type, but I ran into some problems while adding new aliases to the existing nodes.
These are the tests I did:
Test 1:
- Click Edit on node
- Leave Automatic alias unticked
- Save
Result: No new alias is generated.
Test 2:
- Click Edit on node
- Tick Automatic alias
- Save
Result: New alias created, but old alias remains in URL alias field in the node.
Test 3:
- Click Edit on node
- Tick Automatic alias and remove existing URL alias
- Save
Result: Same as Test 2
Test 4:
- Click Edit on node
- Leave Automatic alias unticked and remove existing URL alias
- Save
Result: The alias that was in URL alias is now removed. Other aliases for that node still remains in the URL alias list and URL alias in node edit shows it.
In all tests above I used "Create a new alias. Leave the existing alias functioning." in the Settings tab.
Comments
Comment #1
dave reidI couldn't confirm this behavior. I went from a manual URL alias to a generated URL alias and it put the generated alias in the textbox on the next edit load.
Comment #2
tsvenson commentedI used D7a5 with the current Pathouto dev when I tested that. I did test it both on a live site and on a dev installation and got the same results for both.
Comment #3
dave reid@tsvenson: Do you have time to re-investigate this with the latest Drupal HEAD + Pathauto 7.x-1.x-dev?
Comment #4
tsvenson commentedHi Dave,
I will be able to do this and have a report for you before the end of the week. Hope that's OK.
Comment #5
dave reidSounds great! Keep us updated. :)
Comment #6
dave reidMarking as fixed due to lack of feedback.