QUALITY PATCH

ACSD-56979: Product images are removed after deleting a staging update

Product images are removed after deleting a staging update. Quality patch ACSD-56979 for magento/module-catalog applies to Magento Open Source and Adobe Commerce 2.4.3 to 2.4.6-p15.

Categories
Catalog/Product
Components
magento/module-catalog
Origin
adobe-commerce-support
Since QPT
1.1.49

Issue

Product images are removed after deleting a staging update.

Steps to reproduce

1. On the Commerce Admin sidebar, go to Catalog > Products and create a product. 1. Under Images and Videos, upload an image and save the product. 1. In the Scheduled Changes box, select Schedule New Update. 1. Choose a start date a few minutes in the future. 1. Do not choose an end date. 1. In the Scheduled Changes box, select the View/Edit link. 1. Go to Remove from Update > Delete the Update and select Done. 1. Refresh the page.

Adobe's page lists 2.4.3 - 2.4.6-p7 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.5.0.

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-56979. On Cloud, add ACSD-56979 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-56979/ 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
Packages across compatible versions (1): magento/module-catalog

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.