Issue Bug Closed

#97045@TYPO3\CMS\Extbase\Annotation\Validate: options not available

Renato Morell 02/25/22, 13:39 updated 02/28/22, 17:40

Description

I use

    /**
     * @param GenericForm $genericForm
     * @TYPO3\CMS\Extbase\Annotation\Validate("xxx\xxx\Domain\Validator\Security\CsrfValidator",param="genericForm",options={"formName": "genericForm", "action": "save"})
     */
    public function saveAction(GenericForm $genericForm)
    {}

Since version 11.5.7 the option values get lost and are not available in the context of validator. The option keys are set in $this->options but all values are empty strings.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.