-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Fixing bug with non-existent customer group breaking quote #28902
Fixing bug with non-existent customer group breaking quote #28902
Conversation
Hi @kodubovik. 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. |
@magento run all tests |
@magento run all tests |
1 similar comment
@magento run all tests |
@magento run all tests |
Hi @swnsma, thank you for the review.
|
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 @kodubovik
Due to Magento Definition of Done all changes should be covered by automated tests.
Could you please cover your fix by a MFTF test?
Thank you.
Hi @swnsma, thank you for the review. |
@magento run all tests |
✔️ QA Passed Manual testing scenario:
Before: ✖️ an error "No such entity id = ... " displayed. Shipping methods are not rendered. After: ✔️ Shipping methods are rendered and the order was successfully created with the default customer group |
@magento create issue |
@magento run all tests |
@magento run all tests |
@magento run all tests |
Hi @kodubovik, thank you for your contribution! |
Description (*)
There's a bug when a customer group deleted, it's still referenced in active quotes which causes an error on the checkout page.
Such a quote becomes broken and the customer is not able to place an order. This pull request adds functionality for getting customer group from the current customer in case customer group saved to the quote does not exist.
Manual testing scenarios (*)
Contribution checklist (*)
Resolved issues: