Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to reproduce:
1) have both Pathauto and Add another modules enabled;
2) set Pathauto alias pattern for some node type;
3) start creating the new node of that type;
4) make sure you have "Automatic alias" option enabled;
5) save the node by pressing "Save and add another" button.
Now you will end up with that node created WITHOUT any alias from Pathauto.
To fix that you will have to open that node in edit mode, set the "Automatic alias" option again and use the "Save" button.
Looks like some hook hasn't been fired properly?
Comments
Comment #1
Jon Betts CreditAttribution: Jon Betts commentedThis may be part of the same problem, but none of the menu information is saved either.
1. Select Provide a menu link and fill out desired fields
2. Click save and add another
The page saves, but is not integrated into the menuing system (and therefore no pathauto aliases). Editing the page reveals no saved menu info.
Comment #2
Robin Monks CreditAttribution: Robin Monks commentedIt's entirely possible addanother is hijacking the form handler before pathauto can. I'll need to see if I need to make a specific case for pathauto, or, more ideally find a way to allow any handlers after our own to run while still getting to the next node add form.
If someone else write a solution before I do, I'll be more than happy to apply the patch.
/Robin
Comment #3
Robin Monks CreditAttribution: Robin Monks commentedFixed in 7.x-2.x branch; thanks!
/Robin
Comment #4
Robin Monks CreditAttribution: Robin Monks commentedComment #5
Jon Betts CreditAttribution: Jon Betts commentedWorks! Thanks!!!