-
Notifications
You must be signed in to change notification settings - Fork 9.4k
#30218 GraphQL returns null address if optional telephone is set as e… #30982
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
#30218 GraphQL returns null address if optional telephone is set as e… #30982
Conversation
…et as empty string
Hi @SaftaArtem. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
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.
Hi @SaftaArtem. Good job, thank you for your collaboration. According to the definition of done all the changes should be covered by auto-tests. I would ask you to cover this case with an API-funcitonal test. The test will create cart address with no telephone provided and assert that there's no error in return.
Thank you
…g, new address without telephone.
Hi, *@rogyar, i wrote tests for creating and getting new address without
telephone field*
чт, 19 нояб. 2020 г. в 17:29, Yaroslav Rogoza <[email protected]>:
… ***@***.**** requested changes on this pull request.
Hi @SaftaArtem <https://github.com/SaftaArtem>. Good job, thank you for
your collaboration. According to the definition of done
<https://devdocs.magento.com/guides/v2.3/contributor-guide/contributing_dod.html>
all the changes should be covered by auto-tests. I would ask you to cover
this case with an API-funcitonal test. The test will create cart address
with no telephone provided and assert that there's no error in return.
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#30982 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE5YSDK22TBS6NFZNKA6DOTSQU2WHANCNFSM4T3HEE3Q>
.
|
…d setting, new address without telephone." This reverts commit 04c9e4a
@magento run WebAPI Tests |
Hi @SaftaArtem. Good job. In the meantime, could I ask you to sign Adobe CLA. Without your sign, we cannot proceed with processing the PR. Thank you. |
Done.
пн, 23 нояб. 2020 г. в 14:19, Yaroslav Rogoza <[email protected]>:
… Hi @SaftaArtem <https://github.com/SaftaArtem>. Good job. In the
meantime, could I ask you to sign Adobe CLA
<http://opensource.adobe.com/cla.html>. Without your sign, we cannot
proceed with processing the PR.
Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#30982 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE5YSDO4BNE6WA4FNORCWWLSRJHL5ANCNFSM4T3HEE3Q>
.
|
Hi @SaftaArtem. Please, take a look at the failing test. Thank you. |
Hi @SaftaArtem, thank you for your contribution! |
Description (*)
I change input and output type for telephone field. From String! to String, because telephone field has 3 states(no, required, optional)
Fixed Issues (if relevant)
Manual testing scenarios (*)
Stores - Configuration - Customer - Customer Configuration - Name and Address Options
Set Show Telephone to
Contribution checklist (*)