QUALITY PATCH

ACP2E-5263: Product exports to CSV can stop before all products are included…

Product exports to CSV can stop before all products are included, which produces an incomplete file. Quality patch ACP2E-5263 for magento/module-catalog-import-export applies to Magento Open Source and Adobe Commerce 2.4.5 to 2.4.8-p5. Adobe lists the fix as scheduled for 2.4.10.

Source: Adobe Experience League

Categories
Import/Export
Components
magento/module-catalog-import-export
Origin
adobe-commerce-support
Since QPT
1.1.84

Issue

Product exports to CSV can stop before all products are included, which produces an incomplete file.

Steps to reproduce

1. Ensure the catalog contains multiple products and a secondary store view. 2. Use test products where an image label is set for the secondary store view, but no corresponding product image is available at the default store view. 3. In the Admin, go to System > Data Transfer > Export. 4. Set Entity Type to Products and leave Export File Format set to CSV. 5. Leave the export filters blank and do not exclude attributes. 6. Scroll down and click Continue. 7. Wait for the asynchronous export to complete, then download and open the CSV file.

Adobe's page lists 2.4.5 - 2.4.8-p5 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.

Adobe scheduled the permanent fix for 2.4.10.

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 ACP2E-5263. On Cloud, add ACP2E-5263 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACP2E-5263/ 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

Packages across compatible versions (1): magento/module-catalog-import-export
Packages across compatible versions (1): magento/module-catalog-import-export

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.