Skip to content

Typo3 11.5 Dependency Injection not working anymore in Validators #115

@tylkomat

Description

@tylkomat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions