QUALITY PATCH

ACSD-53998: A dynamic block based on a customer segment doesn't work correctly…

A dynamic block based on a customer segment doesn't work correctly after logging out from a customer account. Quality patch ACSD-53998 for magento/module-customer applies to Magento Open Source and Adobe Commerce 2.4.4-p2 to 2.4.6-p15.

Categories
Content
Components
magento/module-customer
Origin
adobe-commerce-support
Since QPT
1.1.39

Issue

A dynamic block based on a customer segment doesn't work correctly after logging out from a customer account.

Steps to reproduce

1. Create two customer segments without any conditions. 1. Create two dynamic blocks for each segment. 1. Create a block including the two dynamic blocks as Page Builder dynamic blocks. 1. Create a widget including the above block, and make the block visible under the footer section of all the pages. 1. Clear the caches. 1. Open the home page. 1. Log in as a customer. 1. Log out.

Adobe's page lists 2.4.4-p2 - 2.4.4-p6, 2.4.5-p1 - 2.4.6-p3 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.7.

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

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.