ACSD-63870: Customer logout failure when company status is changed during an active customer session
Customer logout failure when company status is changed during an active customer session. Quality patch ACSD-63870 for magento/module-checkout applies to Magento Open Source and Adobe Commerce 2.4.4 to 2.4.4-p10.
- Categories
- Order/Checkout, B2B
- Components
- magento/module-checkout, magento/module-theme
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.59
Issue
Customer logout failure when company status is changed during an active customer session.
Steps to reproduce
1. Enable B2B functionality. 1. Create a simple product. 1. Create a new company and mark it as Active. 1. Log in as the company user and add a product to the cart. 1. Proceed to checkout till the Shipping Address step. Do not enter the address. 1. Go to admin and change the company status to Pending Approval. 1. Go back to the frontend and fill the shipping address.
Adobe's page lists 2.4.4 - 2.4.4-p10 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.8.
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-63870. On Cloud, add ACSD-63870 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-63870/ 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-base >=2.4.4 <2.4.4-p11
- Magento Open Source
- 2.4.4-p10, 2.4.4-p9, 2.4.4-p8, 2.4.4-p7, 2.4.4-p6, 2.4.4-p5, 2.4.4-p4, 2.4.4-p3, 2.4.4-p2, 2.4.4-p1, 2.4.4
- Adobe Commerce
- 2.4.4-p10, 2.4.4-p9, 2.4.4-p8, 2.4.4-p7, 2.4.4-p6, 2.4.4-p5, 2.4.4-p4, 2.4.4-p3, 2.4.4-p2, 2.4.4-p1, 2.4.4
- Patch file
- patches/os/ACSD-63870_2.4.4-p6_v3.patch
- vendor/magento/module-checkout/view/frontend/web/js/action/redirect-on-success.js
- vendor/magento/module-checkout/view/frontend/web/js/model/error-processor.js
- vendor/magento/module-theme/etc/adminhtml/di.xml
- vendor/magento/module-theme/etc/di.xml
- vendor/magento/module-theme/etc/frontend/di.xml
