{"data":{"id":"ACSD-66082","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where it was not possible to update the swatch image of a product through product import.","categories":["Import/Export","Content"],"components":["magento/module-catalog-import-export"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-68/acsd-66082-cant-update-a-products-swatch-image-through-product-import","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-68/acsd-66082-cant-update-a-products-swatch-image-through-product-import.md","blobSha":"558f8df00dd725ef3c9361df3ea7c16f74a32b4f","description":"Uploading a CSV file with the swatch_image field set to EMPTY_VALUE to unset swatch images causes the import process to fail with an error.","stepsToReproduce":"1. Create a simple product. Go to Catalog > Products. Click the down arrow next to the Add Product button and choose Simple Product. Set its SKU to ABC. 1. Upload a PNG image named testing.png to var/import/images/. 1. Create a CSV file with the following content: sku,swatch_image,swatch_image_label ABC,testing.png,testing 1. Go to System > Import to import the file by adjusting the following settings: * Entity type: Products * Import Behavior: Add/Update * Click Choose File to select the CSV file created in the previous step to import. The import is successful, and the swatch is added. 1. Update the CSV with the following content: sku,swatch_image,swatch_image_label ABC,__EMPTY__VALUE__,__EMPTY__VALUE__ 1. Repeat the import process.","introducedInQpt":"1.1.68","createdFor":["2.4.6-p5"],"documentedRange":"2.4.6 - 2.4.8-p1","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.6 <2.4.9","path":"patches/os/ACSD-66082_2.4.6-p5.patch","blobSha":"ba9140fa82cd4c3ab6b07affca26568f34bb06be","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-66082_2.4.6-p5.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-import-export/Model/Import/Product.php","change":"modified","package":"magento/module-catalog-import-export"}],"packages":["magento/module-catalog-import-export"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","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"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","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"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","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"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","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"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/exception.log","match":"report.CRITICAL: Magento\\Framework\\Exception\\LocalizedException: File 'var/import/images/__EMPTY__VALUE__' was not found or has read restriction. in *vendor/magento/module-catalog-import-export/Model/Import/Uploader.php:"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-66082 details"}