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.

Comments

Snugug created an issue. See original summary.

Snugug’s picture

If I were to guess looking at the code, I believe the problem has to do with the function pathautoGenerateAlias and 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.

  • Spleshka committed 048c14d on 8.x-1.x
    Issue #2966936 by Snugug, Spleshka: Fix a bug when fieldable path value...
spleshka’s picture

Status: Active » Fixed

Apologies 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.

Snugug’s picture

Yup this works for me!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.