Project

General

Profile

Actions

Bug #97045

closed

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

Added by Renato Morell over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-02-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF