-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Resolved issue for Customer address is duplicated after setBillingAddressOnCart GraphQL mutation #27107
Conversation
Hi @Aniket10Nov. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
@@ -90,7 +90,7 @@ public function execute(ContextInterface $context, CartInterface $cart, array $b | |||
); | |||
} | |||
|
|||
$billingAddress = $this->createBillingAddress($context, $customerAddressId, $addressInput); | |||
$billingAddress = $this->createBillingAddress($context, $customerAddressId, $addressInput,$sameAsShipping); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, make sure you preserve the PSR code style and add whitespace before the argument
Hi @Aniket10Nov. According to the new Definition of Done, all new changes should be covered by automated tests. Since we don't have a GraphQl query for checking customer addresses, we are not able to cover this case using an API-functional test. |
@nrkapoor unfortunately, only members of the maintainers team are allowed to assign developers to the pull request |
Hi @Aniket10Nov it is M2 core issue, please see #22596. |
Hi @Aniket10Nov , @rogyar! Our internal team has started working on this in the scope of MC-31586 |
Hi @Aniket10Nov, thank you for your contribution! |
Covered by tests internally. |
Description (*)
Resolved issue for Customer address is duplicated after setBillingAddressOnCart GraphQL mutation. If the customer set billing address is the same as the shipping address then it won't save as a new address.
Related Pull Requests
#26884
Fixed Issues (if relevant)
Manual testing scenarios (*)
Do all steps via GQL:
Questions or comments
Contribution checklist (*)