-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Added improvements to category url key validation logic #27412
Added improvements to category url key validation logic #27412
Conversation
Hi @sergiy-v. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sergiy-v,
Your change improves message, however you still will not be able to create category -> it's not fixing the listed issue.
Could you update your changes?
Hello @ihor-sviziev, Thank you. |
@sergiy-v i got your point, seems reasonable. Will review your PR little bit later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sergiy-v,
Please review my comments and static test failures (except copy paste failure, this is known issue) and update your changes accordingly
dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/CategoryTest.php
Outdated
Show resolved
Hide resolved
app/code/Magento/CatalogUrlRewrite/Observer/CategoryUrlPathAutogeneratorObserver.php
Outdated
Show resolved
Hide resolved
e8670cf
to
d187211
Compare
d187211
to
577a27e
Compare
Thanks for suggestions, the changes has been added. I believe the tests errors not related to the changes, please check it. Thank you. |
Hi @lenaorobei @slavvka, |
Oh, looks after merging 2.4 develop the issue is gone. Thank you @lenaorobei ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like test failures are not related to changes from this PR
Hi @ihor-sviziev, thank you for the review. |
Failed functional tests not related to the changes in this PR - comment |
Hi @sergiy-v, thank you for your contribution! |
Description
Improved validate URL key logic for category.
I have added improvements to validate URL key logic for category instead of adding a solution for Thai language because of:
\Magento\Framework\Filter\Translit
can not provide translation for Thai language (the convert table does not contain Thai symbols). It will be hard to add and manage all needed symbols for all languages to the convert table.Fixed Issues
#13689
Manual testing scenarios
See #13689 issue description for details.
Contribution checklist