ACSD-67383: Error when logging in as a Customer with two company admin accounts in the same session
The ACSD-67383 patch fixes the issue where attempting to use Login as Customer for two company admin accounts in the same session without ending the first session results in a No such entity with cartId error. This patch is available when the Quality Patches Tool (QPT) 1.1.72 is installed. The patch ID is ACSD-67383.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.7-p4
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.4 - 2.4.7-p7
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
Attempting to use Login as Customer for two company admin accounts without closing the first session results in a No such entity with cartId exception. This also creates an isolated entry in the quote table.
Steps to reproduce:
- Install a clean instance with B2B.
- Create a new Company.
- Create two separate Company administrators.
- Navigate to Customers > All Customers.
- Enable Allow Remote Shopping Assistance for each of the newly created company admin users.
- Select one company administrator, and click Login as Customer to initiate the login session.
- Without closing the current session, click Login as Customer for the other company administrator to attempt another login.
Expected results:
Login should be allowed without creating empty records in the quote table.
Actual results:
An error message, No such entity with cartId = 22, is returned, and empty records are created in the quote table.
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.
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.