-
Notifications
You must be signed in to change notification settings - Fork 9.4k
#28431 issue fixed #28689
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
#28431 issue fixed #28689
Conversation
Hi @syed-ziffity. 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 give me test instance |
Hi @sidolov. Thank you for your request. I'm working on Magento instance for you |
Hi @sidolov, here is your new Magento instance. |
@magento run all tests |
@magento run static, Database Compare |
@magento run Static Tests |
@magento run Static Tests |
@magento run all tests |
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.
@syed-ziffity could you please cover changes with web API test?
@magento run all tests |
Hi @sidolov, thank you for the review.
|
✔️ QA Passed Manual testing scenario:
Before: ✖️ Prices for child's products are null After: ✔️ Children products have a correct price in the response |
Hi @syed-ziffity, thank you for your contribution! |
Description (*)
When we get the bundle product through REST API we get the null values for all child products. Because of conditions.
Finding
They have checked the Product type in the first step of the ternary operator. If product type is dynamic it will return "0" and the second step they consider the selected products. in this case, there is no selected product so it will return "0". So the condition returns false. in this case null value return for all child products.
Fixes: #28431
Manual testing scenarios (*)
Contribution checklist (*)