I have pathauto set up with a pattern and URLs set to not update on updates. To test this, I updated a piece of content, and while its URL path stayed the same, its fieldable_path value was updated. This was an unexpected behavior, my expected behavior is that the fieldable_path value and the URL path settings would be the same.
| Comment | File | Size | Author |
|---|---|---|---|
| Screen Shot 2018-04-27 at 3.33.08 PM.png | 170.61 KB | Snugug | |
| Screen Shot 2018-04-27 at 3.33.18 PM.png | 37.64 KB | Snugug |
Comments
Comment #2
Snugug commentedIf I were to guess looking at the code, I believe the problem has to do with the function
pathautoGenerateAliasand possibly its interaction with Content Moderation. I have Core's Content Moderation set up before content can be published, so it looks like this function is just rewriting the field to whatever the Pathauto settings are when I approve content to move through the content moderation flow.Comment #4
spleshkaApologies for the delay in the reply. However I've got good news - the issue is now resolved :)
Thank you very much for posting the issue here. Assuming it can be closed, but feel free to reopen if any.
Comment #5
Snugug commentedYup this works for me!