-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix SKU limit in import new products #18639
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
Fix SKU limit in import new products #18639
Conversation
Hi @ravi-chandra3197. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant 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.
Thank you for the contribution!
Hi @slavvka, thank you for the review. |
@ravi-chandra3197 thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
hey @ravi-chandra3197 During testing the fix we encountered with the problem: Manual testing scenario:
ℹ️ Problem is connected with strict comparison in line https://github.com/magento/magento2/pull/18639/files#diff-def2be563c3045d145e78b66496cbc02R74 |
… allow 64 characters for SKU
… allow 64 characters
Hi @slavvka, thank you for the review. |
Hi @ravi-chandra3197. Thank you for your contribution. |
Description (*)
Fix SKU limit in import new product
Fixed Issues (if relevant)
Manual testing scenarios (*)
prepare a correct csv to create new products via backend. Use short values (less then 71 characters) for name/sku for a few records, then use a longer strings ((more then 71 characters) for name/sku for other records.
go to system > import:
-- entity type = products
-- import behaviour = add/update, skip error entries
-- allow errors count = I tried with several numbers from 10 (default) to 500 but issue persists
-- field separator = ; (semicolon)
-- multiple value separator = , (comma, default)
-- field enclosure = unchecked (default)
Select the csv to import and run check data
when strings are too long, I expect to see an error after I run check data. I also expect that import get blocked until all error are fixed so no products gets created until the check data allows you to proceed with the import.
Contribution checklist (*)