MDVA-42507: Full-page cache is cleaned after applying staging update for cart rule
Full-page cache is cleaned after applying staging update for cart rule. Quality patch MDVA-42507 for magento/module-staging applies to Magento Open Source and Adobe Commerce 2.4.3 to 2.4.3-p3.
- Categories
- Performance, Cache
- Components
- magento/module-staging
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.9
Issue
Full-page cache is cleaned after applying staging update for cart rule.
Steps to reproduce
1. Enable developer mode. 1. Open several products and category pages and check (via headers) that they are loaded from cache. 1. Apply any staging update for the cart rule. 1. Check if the category and product pages are still loaded from the cache.
Adobe's page lists 2.4.3 - 2.4.3-p1 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.5.
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 MDVA-42507. On Cloud, add MDVA-42507 under stage.build.QUALITY_PATCHES in .magento.env.yaml.
For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its MDVA-42507/ 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-ee-base >=2.4.3 <2.4.4
- Magento Open Source
- —
- vendor/magento/module-staging/Model/StagingApplier.php
