-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix #26504 - Broken reference errors pilling up logs #28735
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 #26504 - Broken reference errors pilling up logs #28735
Conversation
Hi @Bartlomiejsz. 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 |
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 @Bartlomiejsz,
Could you cover your changes with some type of test?
Hi @ihor-sviziev, to be honest I'm not sure here. Whole GeneratorPool class is pretty complex, and currently have no unit tests (MFTF are not applicable I believe). |
@Bartlomiejsz yeah, make sense. So I changed label to "not required". |
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.
✔ Approved.
Failing functional tests looks not related to changes form this PR.
Hi @ihor-sviziev, thank you for the review. |
✔️ QA Passed Preconditions:
Manual testing scenario:
Before: ✖️ Logs are full of Broken reference errors After: ✔️ Broken reference errors are only logged in developer mode |
Hi @Bartlomiejsz, thank you for your contribution! |
Description (*)
All of other Broken reference logs across Magento are only logged in developer mode. This PR fixes the only place from which it was logged also in production mode, possibly causing pilling up of logs
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Please check fixed issue for steps to reproduce
Questions or comments
Contribution checklist (*)