Skip to content
Snippets Groups Projects
Commit 8cc1dd3a authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Create Extbase validators using ValidatorResolver

With refactoring #96998, Extbase validators
should always be initialized calling setOptions().
Issue #97010 showed this is easy to forget.

The patch avoids instantiating single validators
directly, they are now always instantiated using
ValidatorResolver->createValidator() which takes
care of options setting.

Resolves: #97021
Related: #96998
Related: #97010
Releases: main
Change-Id: Ibb2966a442b37748d339fd2d88add13387f6ec07
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73694


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 10ee1935
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment