[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

ACSD-59229: Customer group data misallocation due to an outdated X-Magento-Vary value

The ACSD-59229 patch fixes the issue where customer group-related information is saved in the wrong segment because of an outdated X-Magento-Vary value in the request. This patch is available when the Quality Patches Tool (QPT) 1.1.50 is installed. The patch ID is ACSD-59229. Please note that the issue is fixed in 2.4.7.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.4-p8

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.4 - 2.4.6-p7
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Customer group-related information is saved in the wrong segment because of an outdated X-Magento-Vary value in the request.

Prerequisites:

Ensure that Adobe Commerce B2B with sample data is installed and Varnish is configured.

Steps to reproduce:

  1. Set up advanced pricing for the SKU 24-MB01:

    1. Regular price = 9999$

    2. Catalog and Tier Price:

      • Wholesale = $200
      • Retailer = $30
  2. Create two customer accounts.

  3. Assign both customers to the Wholesale group.

  4. Open two different browser sessions and log in with each customer.

  5. Navigate to the 24-MB01 product page for each customer and verify that the price displayed is $200.

  6. Change the customer group for one of the customers to Retail.

  7. Clear the cache using the command: bin/magento cache:flush full_page.

  8. Refresh the product page for each customer.

Expected results:

  1. The retail customer can see the correct price of $30 for the product.
  2. The wholesale customer can see the correct price of $200 for the product.

Actual results:

  1. The retail customer can see the correct price of $30 for the product.
  2. The wholesale customer sees an incorrect price of $30 (retail price) for the product.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3