-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using {type} in a section's URL format, changing the handle doesn't update existing URLs #15
Labels
bug
enhancement
improvements to existing features
severity:minor
Cosmetic issues or bugs with simple workarounds
Comments
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
enhancement
improvements to existing features
severity:minor
Cosmetic issues or bugs with simple workarounds
Environment:
Description:
Scenario:
I've got a channel with the URL format set to 'news/{type}/{slug}'. This would produce a URI like '/news/press/my-news-article'.
I then decide to change the entry type title and handle to 'release'. I'd expect the URI to be '/news/release/my-news-article' however it hasn't changed from the original URI.
Workaround:
My short-term fix was to change the URL format to 'news/{slug}' then back to 'news/{type}/{slug}' to trigger the resave elements task. It's not a huge issue for us, but others might not understand how to fix it.
Might be worth triggering a re-save elements task automatically in this specific case.
The text was updated successfully, but these errors were encountered: