Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C CMS
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • CI
  • CMS
  • Repository
Switch branch/tag
  • cms
  • ..
  • Controller
  • ActionController.php
Find file BlameHistoryPermalink
  • Christian Kuhn's avatar
    [TASK] Create Extbase validators using ValidatorResolver · 8cc1dd3a
    Christian Kuhn authored Feb 24, 2022
    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: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    8cc1dd3a