Having both Webform and Pathauto installed, the webform edit page shows a Pathauto region with an 'Automatic alias' checkbox, and an alternative text box bellow to specify another path. So far so good.
The thing is that I uncheck the fist and fill the second with my custom path, and then when I return to this page to edit it once more, the checkbox is checked again.
It goes unnoticed, and if I submit the page in this state, it clears my custom path and generates another automatically, which is not the intended thing.
Comments
Comment #1
tritao commentedSorry, turns out this is just a Pathauto setting, an option that says:
"What should pathauto do when updating an existing content item which already has an alias?"
:)
Comment #2
DaPooch commentedNo, I don't think this is the correct action considering other pages wont automatically re check the auto-alias function the way webform appears to. The correct action should be to respect the update action set in the Pathauto config IF the "auto-alias" checkbox is checked. If you uncheck it that should save the checkbox state and respect the path you have indicated in the box. That's how all other nodes react.
Comment #3
DaPooch commentedApparently this is an issue with Pathauto? Can anyone verify if the 2.x -dev branch addresses this issue?
Comment #4
monotaga commentedPathauto 6.x-2.x-dev (2011-Dec-18) doesn't seem to fix this issue. I'm not sure what's going on w/this (using webform 6.x-3.18)
Comment #5
xaris.tsimpouris commentedI have installed webform latest version for D7 and the problem still exists. Whenever I save the form settings (Webform tab -> Form settings) path alias get lost, and path alias is reset to automatic (as like I saved the node with "Generate automatic URL alias" checked).
*each time* I save the for settings, I go to the "Edit" tab to reset the path alias settings.
We can't assume that this a pathauto issue, as it happens only within form settings and not under the edit tab
Comment #6
DaPooch commentedYup. I can confirm I've got the exact same issue as xaris outlines above. Webform form settings changes reverts the path auto setting.
Comment #7
nodecode commentedI believe this is a longstanding issue with Pathauto that is on the cusp of being fixed (hopefully).
#936222: Merge in pathauto_persist module functionality to prevent losing manual aliases with node_save() calls
Comment #8
quicksketch@nodecode is correct, this is a problem with Pathauto. You can prevent the bug by installing the Pathauto Persist module until that patch is applied to Pathauto itself.
Comment #9
danchadwick commented