-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Allow filter directive processors to be used with the Widget template filter #28723
Allow filter directive processors to be used with the Widget template filter #28723
Conversation
Hi @Parakoopa. 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. |
It seems contributors can't add labels anymore. This is a partner contribution for "Tudock GmbH", could someone add the labels for that? |
@magento run all tests |
@magento-engcom-team The failing builds are not because of changes I made, it's just something old in the same file, what can I do about this? |
@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.
Hi @Parakoopa. Thanks for this improvement.
Static builds work in a way that the whole content of changed file is being checked.
For this specific failure The use of function html_entity_decode() is discouraged
: I believe it makes sense to add // phpcs:ignore Magento2.Functions.DiscouragedFunction
annotation, since it is not related to your change.
Please consider also adding integration test to cover this behaviour.
Hi @Parakoopa could you please take a look at #28723 (review)? |
@magento run all tests |
@engcom-Charlie I don't really understand why that test is failing now. |
Static tests pass now, but this change still requires additional test coverage. I believe, integration test would suit best. |
Hi @Parakoopa, can you please cover your changes by integration test? |
The risk was set to |
I will implement the integration tests as soon as I find the time for it. |
Hi @Parakoopa, do you have any updates about test coverage? |
I still have this on my TODO list. |
@magento run all tests |
@engcom-Charlie |
Any update on this? I haven't heard anything in over a year. |
@magento-engcom-team Any updates? |
Hi @theCapypara, Thank you for your contribution! Once the PR will get reviewed from community members, it will move further. Thank you! |
I have the impression that this change is no longer needed since Magento 2.4.3 as a similar change was introduced in scope of #31772 apparently. So this PR can probably be closed if somebody could confirm this? Thanks! 🙂 |
To be honest it is a bit frustrating to contribute to Magento / Adobe Commerce if after 2 years this is the answer and there is still no word from the maintainers. I get that this is just a simple fix and I'm happy to see it fixed somewhere else, but it's still pretty discouraging that this keeps happening. I would love to some communication and quicker processing of Pull Requests in the future or I'll just re-consider whether or not it's worth to even contribute in the first place. |
Description (*)
This allows the use of filter directives with the
Magento\Widget\Model\Template\Filter
filter (which is used by CMS content). This makes extending the filter directives actually useful.By applying the changes in this Pull Request, the following DI configuration also applies to this filter as well:
Manual testing scenarios (*)
Contribution checklist (*)
Resolved issues: