ACSD-63870: Customer not logged out properly during company status change
CREATED FOR:
- Experienced
- Admin
- Developer
The ACSD-63870 patch solves the issue where a company customer is not logged out properly when the company status changes during an active customer session. This patch is available when the Quality Patches Tool (QPT) 1.1.59 is installed. The patch ID is ACSD-63870. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.8.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.4-p6
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.4 - 2.4.4-p10
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 logout failure when company status is changed during an active customer session.
Steps to reproduce:
- Enable B2B functionality.
- Create a simple product.
- Create a new company and mark it as Active.
- Log in as the company user and add a product to the cart.
- Proceed to checkout till the Shipping Address step. Do not enter the address.
- Go to admin and change the company status to Pending Approval.
- Go back to the frontend and fill the shipping address.
Expected results:
Customer has been logged out.
Actual results:
-
Users get the Something went wrong error.
-
var/log/exception.log
contains:report.CRITICAL: InvalidArgumentException: Incorrect theme identification key in /home/lib/internal/Magento/Framework/View/Design/Theme/FlyweightFactory.php:60
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Additional steps required after the patch installation
(This section is optional; there might be some steps required after applying the patch to fix the issue.)
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.