.. include:: /Includes.rst.txt .. _breaking-87957: ================================================================================= Breaking: #87957 - Validators are not registered automatically in Extbase anymore ================================================================================= See :issue:`87957` Description =========== There were several validators that Extbase applies automatically. One example are domain validators that are registered if created in a specific directory. Another one is the type validator which is created if a validator with a specific name exists. The method :php:`TYPO3\CMS\Extbase\Utility\ClassNamingUtility::translateModelNameToValidatorName` has been removed without substitution. This leads to no automatically registered validators anymore. Domain Validators ================= Given that there is a model :php:`\TYPO3\CMS\Extbase\Domain\Model\BackendUser`, extbase searched for a validator named :php:`\TYPO3\CMS\Extbase\Domain\Validator\BackendUserValidator`. The `Model` part of the namespace had been replaced with `Validator` and another `Validator` string had been added to the actual class name. In this example, `BackendUser` has been replaced with `BackendUserValidator`. If such a validator class existed it had been magically applied and used during the validation of the model. Example::