revolution
revolution copied to clipboard
Revert and break nested output filters
What does it do?
Revert and break nested output filters to fix a lot of other issues with output filters introduced in PR #14458
Why is it needed?
To fix a lot of issues with output filters being broken.
Related issue(s)/PR(s)
Related issues:
- #16044
- #16186
Related PR: #14458
The tests have to be reverted too, since nested output filters don't work anymore (at least in the test). The code is reverted to the state before #14458.
The tests have to be reverted too, since nested output filters don't work anymore (at least in the test). The code is reverted to the state before #14458.
Yes you’re right, I hope to find some time to actually fix the issue but it’s complicated to do. Once everyone agrees with reverting the change and breaking nested output filters I’ll remove the breaking test cases.
@opengeek @Mark-H what are your thoughts on this?
I've not followed this issue closely enough to have a strong opinion, though it sounds like this may be related to some upgrade issues I've seen myself.
I'm seeing two integrators who have been working on this issue saying we need this, and am happy to lend those my support.
Maybe as the next step after this we can build a ton more extra test cases (some of which may fail for now) to make sure we avoid going back and forth on this repeatedly. Clearly there needs to be work on the parser but very few people are comfortable with this particular level of spaghetti and inferred behavior.
This pull request has been mentioned on MODX Community. There might be relevant details there:
https://community.modx.com/t/calling-uncached-inside-if-or-similar-output-modifier/5740/2
This pull request has been mentioned on MODX Community. There might be relevant details there:
https://community.modx.com/t/migx-php-8-0-nested-getimage-calls-is-it-a-bug/5750/12
This pull request has been mentioned on MODX Community. There might be relevant details there:
https://community.modx.com/t/template-tags-are-not-parsed-under-certain-conditions/5779/2
This pull request has been mentioned on MODX Community. There might be relevant details there:
https://community.modx.com/t/modx3-broken-output-filters/5906/1
I've just created an alternative proposal to fix this issue, and would appreciate lots and lots of testing and feedback on that: #16288
This pull request has been mentioned on MODX Community. There might be relevant details there:
https://community.modx.com/t/modx3-output-filters-break-with-nested-snippets-chunks/6878/1