Skip to content
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

ExtTablesInclusionPostProcessing event listener overwrites TCA generated by other event listeners #1

Closed
smichaelsen opened this issue Jun 17, 2022 · 1 comment

Comments

@smichaelsen
Copy link
Contributor

smichaelsen commented Jun 17, 2022

The ExtTablesInclusionPostProcessing receives a AfterTcaCompilationEvent, and then writes $GLOBALS['TCA'] back to it.
When other event listeners have run before, this overwrites anything they had written to the $event.

This makes gridelements currently incompatible with melon_images which listens to the same event.

luzat added a commit to luzat/gridelements that referenced this issue Aug 16, 2022
Work on `$event->getTca()` instead of `$GLOBALS['TCA']`. Back up the previous TCA in case other listeners depend on it.
@Bunnyfield
Copy link
Contributor

Fixed in version 11.0.0

echavaillaz added a commit to echavaillaz/gridelements that referenced this issue Apr 30, 2023
echavaillaz added a commit to echavaillaz/gridelements that referenced this issue Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants