ACSD-58325: The Import button is available even after a validation error
The Import button is available even after a validation error. Quality patch ACSD-58325 for magento/module-catalog-import-export applies to Magento Open Source and Adobe Commerce 2.4.6 to 2.4.6-p15.
- Categories
- Import/Export
- Components
- magento/module-catalog-import-export, magento/module-import-export, magento/module-import-csv, magento/module-import-csv-api, magento/module-scheduled-import-export
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.57
Issue
The Import button is available even after a validation error.
Steps to reproduce
1. Create the CSV file for the product import with an incorrect image name in the file. 1. Create a scheduled product import using the created CSV file. 1. Wait until the scheduled import is performed. 1. Check Last outcome in Scheduled Imports/Exports grid.
Adobe's page lists 2.4.6 - 2.4.6-p8 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.
Install
Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply ACSD-58325. On Cloud, add ACSD-58325 under stage.build.QUALITY_PATCHES in .magento.env.yaml.
For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACSD-58325/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.
Patch files and compatible versions
magento/magento2-base >=2.4.6 <2.4.7
- Magento Open Source
- 2.4.6-p15, 2.4.6-p14, 2.4.6-p13, 2.4.6-p12, 2.4.6-p11, 2.4.6-p10, 2.4.6-p9, 2.4.6-p8, 2.4.6-p7, 2.4.6-p6, 2.4.6-p5, 2.4.6-p4, 2.4.6-p3, 2.4.6-p2, 2.4.6-p1, 2.4.6
- Adobe Commerce
- 2.4.6-p15, 2.4.6-p14, 2.4.6-p13, 2.4.6-p12, 2.4.6-p11, 2.4.6-p10, 2.4.6-p9, 2.4.6-p8, 2.4.6-p7, 2.4.6-p6, 2.4.6-p5, 2.4.6-p4, 2.4.6-p3, 2.4.6-p2, 2.4.6-p1, 2.4.6
- Requires
- ACSD-54342
- Patch file
- patches/os/ACSD-58325_2.4.6-p3.patch
- vendor/magento/module-catalog-import-export/Model/Import/Product.php
- vendor/magento/module-import-export/Controller/Adminhtml/ImportResult.php
- vendor/magento/module-import-export/Model/Export.php
- vendor/magento/module-import-export/Model/Export/Consumer.php
- vendor/magento/module-import-export/Model/Import.php
- vendor/magento/module-import-export/Model/Import/RenderErrorMessages.php (added)
- vendor/magento/module-import-export/Model/LocaleEmulator.php (added)
- vendor/magento/module-import-export/Model/LocaleEmulatorInterface.php (added)
- vendor/magento/module-import-export/etc/adminhtml/di.xml
- vendor/magento/module-import-export/etc/di.xml
magento/magento2-ee-base >=2.4.6 <2.4.7
- Magento Open Source
- —
- vendor/magento/module-import-csv/Model/ImportLocalizedSourceData.php (added)
- vendor/magento/module-import-csv/Model/SourceData.php
- vendor/magento/module-import-csv/Model/StartImport.php
- vendor/magento/module-import-csv/etc/di.xml
- vendor/magento/module-import-csv-api/Api/Data/LocalizedSourceDataInterface.php (added)
- vendor/magento/module-import-csv-api/Api/ImportLocalizedSourceDataInterface.php (added)
- vendor/magento/module-import-csv-api/Api/StartImportInterface.php
- vendor/magento/module-import-csv-api/etc/webapi.xml
- vendor/magento/module-scheduled-import-export/Controller/Adminhtml/Scheduled/Operation/Cron.php
- vendor/magento/module-scheduled-import-export/Model/Export.php
- vendor/magento/module-scheduled-import-export/Model/Scheduled/Operation.php
- vendor/magento/module-scheduled-import-export/view/adminhtml/layout/adminhtml_scheduled_operation_index.xml
