New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
middlename('s) not saved for guest accounts #38593
Comments
Hi @DRdevil27. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Bravo, here is your Magento Instance: https://8d81be79f2f45db08f3bf54fa991fe6b.instances-prod.magento-community.engineering |
Hi @DRdevil27, Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the attached screenshots.. Steps to reproduce
In admin it is showing middle name for the customer. In Database quote table showing middle name as null value. Hence Confirming the issue. Thanks. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-11755 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Bravo. Thank you for verifying the issue. |
@magento I am working on this |
Preconditions and environment
Steps to reproduce
checkout as a guest. put a middle name in the field. it is not saved for guest accounts
Expected result
Middle name is saved in quote table and accessible in email template
Actual result
middle name is not saved in quote table and also not accessible in email template
Additional information
my guess is that this should not be "if is null" but "if is not null"
Magento\Quote\Model\QuoteManagement
if ($quote->getBillingAddress()->getMiddlename() === null) {
$quote->setCustomerMiddlename($quote->getBillingAddress()->getMiddlename());
}
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: