-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Suggestion: post slug should not been overidden #1333
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
Comments
Makes sense to me 👍 |
In a real application I'd 100% agree with you; here it might be debatable because it's a demo application that needs to be realistic but not a completely real app. In any case, since the proposed change would be small and easier to understand to people reading the code, let's do it! @ecourtial would you be willing to submit a pull request with this change? Thanks! |
@javiereguiluz |
@javiereguiluz Done. |
Fixed in #1338. Thanks! |
👋
In this line:
demo/src/Form/PostType.php
Line 82 in 7ca8927
We see that the slug is always created/updated if the title is not empty.
Issue: when editing a post which has already been published and indexed by search engines, it could trigger a side effect if you change the title.
I suggest:
The text was updated successfully, but these errors were encountered: