Summary: Unable to change customer email after associated quote is deleted by sales_clean_quotes cron job.
Steps to reproduce:
- As a customer, place a new order on the storefront.
- Wait for the
sales_clean_quotes cron job to run and delete the quote associated with the placed order.
- Navigate to the customer account section.
- Attempt to change the customer's email address.
Expected result:
- The customer's email address should be successfully updated in their account.
Actual result:
- The customer's email address is not changed.
- The customer receives the following error message: "No such entity with cartId = 123456" (where 123456 is the ID of the deleted quote).
Environment:
- Magento 2.4.5-p12 (and all other supported versions)
Severity:
- Major (Prevents a basic customer account function and displays an error message)
Priority:
- High (Should be addressed quickly due to impact on customer experience)
Additional Information:
- The issue appears to be related to the system still referencing the deleted quote when attempting to update the customer's email.
- It's possible that the email update process incorrectly tries to interact with the quote data, even though it should be independent.
- This could lead to customer frustration and potentially prevent them from managing their account details.
Summary: Unable to change customer email after associated quote is deleted by
sales_clean_quotescron job.Steps to reproduce:
sales_clean_quotescron job to run and delete the quote associated with the placed order.Expected result:
Actual result:
Environment:
Severity:
Priority:
Additional Information: