Closed
Description
Preconditions (*)
- Magento 2.3.5
- Magento 2.4-develop
Steps to reproduce (*)
- Import a product with multiple additional_images set where the second image is invalid (has spaces or parentheses)
- file contains broken path of second image
/1/1/1 11*2.jpg
instead of correct/1/1/111*2.jpg
import*break_add_image.csv.txt
Expected result (*)
- All additional images should be validated
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.
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchMajor restrictions or short-term circumventions are required until a fix is available.
Type
Projects
Status
Done