Skip to content

No such entity with cartId = #39906

Open
Open
@harleeniweb

Description

@harleeniweb

Preconditions and environment

  • Magento version : 2.4.8
  • php version: 8.3

Steps to reproduce

Create a customer associated to company in the admin and do Login as customer

It login the customer but also get a warning message "No such entity with cartId =xxxx"

Same issue happens with the retail customer

Expected result

It should log in the customer and create a quote in the database, assigning it to the customer with the correct customer ID, email, and other details.

Actual result

In the quote table, a new quote is created without any customer details, and customer_is_guest is set to 0. It appears the quote is being generated but not properly assigned to the customer. Then, when a product is added to the cart, another quote is created.

The same issue occurs with retail customers, and occasionally results in the error:
"No such entity with cartId =", causing the login process to fail.

Additional information

It started happening after applying patch 2.4.6-p9 and can still be replicated on 2.4.8

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: AccountComponent: LoginAsCustomerIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Reported on 2.4.8Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    Status

    Ready for Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions