-
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
Product import: Only the first additional image is validated #28236
Comments
Hi @domeglic. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @domeglic do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @ajijshekh123. Thank you for working on this issue.
|
Hi @swathishs. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @swathishs. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hi @swathishs, here is your Magento instance. |
Hi @engcom-Delta. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Delta Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi @engcom-Kilo. Thank you for working on this issue.
|
Preconditions (*)
Steps to reproduce (*)
/1/1/1 11*2.jpg
instead of correct/1/1/111*2.jpg
import*break_add_image.csv.txt
Expected result (*)
Actual result (*)
This is the cause of problem: https://github.com/magento/magento2/blob/2.3.5/app/code/Magento/CatalogImportExport/Model/Import/Product/Validator/Media.php#L118
Only the first additional image gets validated because the loop has a
break;
at the end. It should probably just be removed.The text was updated successfully, but these errors were encountered: