-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Adding trimming sku value function to sku backend model. #18019
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
Adding trimming sku value function to sku backend model. #18019
Conversation
Hi @bartoszkubicki. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @bartoszkubicki, @VladimirZaets could you check this PR? |
@ihor-sviziev Actuallly haven't noticed that. I looked at this PR, but I am not sure - adding |
@magento-engcom-team give me 2.3-develop instance |
Hi @rogyar. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
Hi @rogyar, here is your Magento instance. |
@magento-engcom-team give me test instance |
Hi @rogyar. Thank you for your request. I'm working on Magento instance for you |
Hi @rogyar, here is your new Magento instance. |
I found this solution more universal than in #16592 |
05e2cfb
to
d64aeb5
Compare
I have also include fix for not resolved case - I have added custom frontend validation js rules and included it for sku field by field ui modifier. |
Adding trimming sku value function to sku backend model. Adding frontend validation for sku field.
02a2f73
to
6c168dd
Compare
Hi @VladimirZaets, thank you for the review. |
Hi @rogyar, thank you for the review. |
Hi @bartoszkubicki. Thank you for your contribution. |
…18019. Fix static tests.
Description
I have added function to sku backend model which trimms value from whitespace.
Fixed Issues (if relevant)
Manual testing scenarios
Contribution checklist