-
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
Resolved undefined index issue for import adapter #19765
Resolved undefined index issue for import adapter #19765
Conversation
Hi @jaimin-ktpl. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @jaimin-ktpl thanks for your contribution! As I can see the |
Hello @sivaschenko , Thank you for your inputs on it. Can we set an incremental variable for each valid row? Something like, |
Hi @jaimin-ktpl , I think there may be no need for a variable and we may directly increment the I.e. that's exactly how
magento2/app/code/Magento/CustomerImportExport/Model/Import/AbstractCustomer.php Line 193 in ddebed6
However, there is a concern about the reason the code was using the |
Hello @sivaschenko , I have updated the code to check for entity count. |
@VladimirZaets , waiting for your review on this PR. Please review it when you have time.. Thanks. |
Hi, @jaimin-ktpl. The ticked already reviewed and currently in processing status. Thanks |
QA passed. |
Hi @jaimin-ktpl, thank you for your contribution! |
Description (*)
Added a condition to check if 'sku' column exists in CSV file before setting its value.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Magento\ImportExport\Model\Import\Entity\AbstractEntity
getValidColumnNames()
function.e.g. ['column1', 'column2', 'column3']
Contribution checklist (*)