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

Typo3 11.5 Dependency Injection not working anymore in Validators #115

Open
tylkomat opened this issue Nov 5, 2024 · 0 comments
Open

Typo3 11.5 Dependency Injection not working anymore in Validators #115

tylkomat opened this issue Nov 5, 2024 · 0 comments

Comments

@tylkomat
Copy link

tylkomat commented Nov 5, 2024

See https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.5.x/Important-96332-ExtbaseValidatorsCanUseDependencyInjection.html

The Validator needs to implement setOptions and, to be forward compatible with 12, use constructor injection.

EDIT: Just saw that it already has been fixed, I forgot to use the latest version. Anyway, if you like to use the way described in the changelog I can provide a pull request.

tylkomat added a commit to btucs/slub_events that referenced this issue Nov 5, 2024
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

No branches or pull requests

1 participant