QUALITY PATCH

ACSD-68517: The Catalog and Catalog Search pages display a Confirm Form Resubmission dialog…

The Catalog and Catalog Search pages display a Confirm Form Resubmission dialog when using the browser's back arrow after changing the product list order, due to improper handling of cached POST requests. Quality patch ACSD-68517 for magento/module-catalog applies to Magento Open Source and Adobe Commerce 2.4.4 to 2.4.6-p15.

Categories
Catalog Search
Components
magento/module-catalog, magento/module-catalog-search
Origin
adobe-commerce-support
Since QPT
1.1.75

Issue

The Catalog and Catalog Search pages display a Confirm Form Resubmission dialog when using the browser's back arrow after changing the product list order, due to improper handling of cached POST requests.

Steps to reproduce

1. Set Remember Category Pagination configuration to Yes. 2. Search for a product on the storefront. 3. Change the list order to anything other than the default Relevance in the search results page. 4. Go to a product page. 5. Click the browser's back arrow.

Adobe's page lists 2.4.4 - 2.4.6-p13 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.9.

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

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.