-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Removed State/Province of shipping address when not added in billing address by customer #31615
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
Conversation
Hi @saphaljha. 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 |
@magento run all tests |
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
1 similar comment
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
@magento run Functional Tests CE |
1 similar comment
@magento run Functional Tests CE |
Hello @coderimus , |
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.
Hello @saphaljha
Thank you for the fix 👍
About the solution: take into account that the method should return an object with the specific data filtered by country I think that unset data looks valid. This allowed being sure that the object will have only filtred data.
@sivaschenko can you, please, validate this PR also?
@coderimus Could you put an appropriate label for test coverage? |
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 @saphaljha .
Due to the Magento Definition of Done, all code changes must be covered by automated tests and it's required part of code contribution.
Could you cover your changes with some automated test?
Thanks!
@magento run Functional Tests B2B, Functional Tests EE, Integration Tests |
1 similar comment
@magento run Functional Tests B2B, Functional Tests EE, Integration Tests |
@magento run Functional Tests B2B, Functional Tests EE |
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests EE |
1 similar comment
@magento run Functional Tests B2B, Functional Tests EE |
@magento run Functional Tests B2B |
1 similar comment
@magento run Functional Tests B2B |
@magento run all tests |
@magento run Functional Tests B2B |
@magento run all tests |
@magento run Functional Tests B2B |
3 similar comments
@magento run Functional Tests B2B |
@magento run Functional Tests B2B |
@magento run Functional Tests B2B |
@magento run all tests |
@magento run Functional Tests B2B |
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.
@saphaljha after discussion with @sivaschenko we think that the provided change looks risky because there is a possibility to have 3rd party vendors and customisations relay on the object data.
As a next step, I could suggest reviewing what is the reason
_loadByCountry method is applied to already populated Region? Can we ensure this method is applied only to new objects?
- cc @sivaschenko
Hi @saphaljha thank you for the PR, however there is another PR #32187 that provides a better and less risky implementation. Closing this one as not being actual anymore. Thank you for your contribution. |
Hi @saphaljha, thank you for your contribution! |
Description (*)
Removed State/Province of shipping address when not added in billing address by customer
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)