Skip to content

Comments

[5.x] Account for custom fields when checking if entry URIs should be updated#13859

Merged
jasonvarga merged 2 commits into5.xfrom
update-entry-uris
Feb 10, 2026
Merged

[5.x] Account for custom fields when checking if entry URIs should be updated#13859
jasonvarga merged 2 commits into5.xfrom
update-entry-uris

Conversation

@duncanmcclean
Copy link
Member

Currently, we only update child & mounted entry URIs when the slug field changes.

However, this means that updating a custom field used in the collection's route will leave child/mounted entries with the "old" URI until either the Stache is cleared or the slug is updated.

This PR ensures that we check the dirty state of fields used in the collection route by taking advantage of the Antlers::identifiers() method.

Closes #13828

@duncanmcclean duncanmcclean linked an issue Feb 9, 2026 that may be closed by this pull request
@jasonvarga jasonvarga merged commit 3304a9f into 5.x Feb 10, 2026
27 checks passed
@jasonvarga jasonvarga deleted the update-entry-uris branch February 10, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URL in Stache does not update correctly when using custom routes

2 participants