-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix for communication.xml Handlers merging processs #28926
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
Fix for communication.xml Handlers merging processs #28926
Conversation
Hi @matiashidalgo. 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 create issue |
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.
Thanks for fixing it.
Could you please add integration test to cover this?
@magento run all tests |
…go/fix-handlers-not-being-merged-correctly
Hi @lenaorobei since this is a fix to Framework I can not find any example of an Integration test, would you mind to point me out to an example of this and tell me which module I'm supposed to use for place my integration test? |
Sure! Please see example I also noticed that Static Tests build failed. Here is the report https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/28926/f2b73dfd3095f563cfde67e1f874d8e1/Statics/allure-report-b2b/index.html#suites/51d3ab4d5d77a0bc6a7ea344e9e7e6be/dccf717ef048c46e/ Looks like this particular case needs to be suppressed, because default parameters are different. |
@magento run all tests |
Thank you a lot for pointing me to the right place, I've found the reason which makes the integration test not detect this issues so now it is covered. About the static code error, I didn't found how to fix it, can you help me once again and point me out where this can be fixed? |
…ration integration test file
@magento run all tests |
@magento run all tests |
@matiashidalgo Perfect timing! I was just sending the recommendations to you. |
Got it, thanks.
…Sent from my Apple Watch
|
@lenaorobei @lbajsarowicz I can't find the issue on this failed tests, can you check? |
Exactly, this is a correct test @engcom-Charlie |
@matiashidalgo could you please resolve the merge conflict? |
Conflicts resolved! @engcom-Charlie Thank you too! |
@magento run all tests |
@magento run all tests |
@magento run Functional Tests CE, WebAPI Tests |
@magento run Functional Tests CE |
@engcom-Charlie @gabrieldagama all checks passed now. Please do let me know if something else is needed from me. |
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 @matiashidalgo, thanks for your contribution, the changes look good to me!
Hi @gabrieldagama, thank you for the review. |
Note: Automation tests are passed |
Hi @matiashidalgo, thank you for your contribution! |
Description (*)
This changes fixes the "handler" merging process into communication.xml files which currently overrides all the handlers with the last one created, ignoring it's different names as expected. Issue found during custom handler development for MCOM module where there was already a handler for a message.
Manual testing scenarios (*)
Contribution checklist (*)
Resolved issues: