#94055Deprecation: #83094 IgnoreValidation results in exception
Description
The deprecation #83094 has not been taken care of in the function initializeActionMethodValidators of class ActionController .
This leads to a PHP exception.
PHP Warning: array_flip(): Can only flip STRING and INTEGER values in /var/www/html/typo3_src-9.5.24/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php line 254
See the blog example extension:
https://github.com/FriendsOfTYPO3/blog_example/issues/10
This fix solves the issue for this case:
$ignoreValidationAnnotations = array_unique(array_flip(
$classSchema->getMethod($this->actionMethodName)[‘tags’][‘TYPO3\CMS\Extbase\Annotation\IgnoreValidation’] ?? []
));Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.