[FLOW3-general] @FLOW3\IgnoreValidation not working
David Sporer
david.sporer at gmail.com
Sat Sep 1 16:43:55 CEST 2012
Hi,
I have a problem with the IgnoreValidation Annotation in FLOW3 1.0
If I add the Annotation to the editAction of my Controller it throws the
following error:
[Semantical Error] The annotation
"@\TYPO3\FLOW3\Annotations\IgnoreValidation" in method
SporerWebservices\PassbookPasses\Controller\PassTemplateController::editActi
on() does not exist, or could not be auto-loaded.
This is how my method looks like:
/**
* @param \SporerWebservices\PassbookPasses\Domain\Model\PassTemplate
$passTemplate the pass template to edit
* @FLOW3\IgnoreValidation(argumentName="$passTemplate")
* @return void
*/
public function
editAction(\SporerWebservices\PassbookPasses\Domain\Model\PassTemplate
$passTemplate) {
.
}
The use TYPO3\FLOW3\Annotations as FLOW3; is there also
I've also tried
@FLOW3\IgnoreValidation(argumentName="passTemplate")
@FLOW3\IgnoreValidation("passTemplate")
@FLOW3\IgnoreValidation("$passTemplate")
@FLOW3\IgnoreValidation
The last one gives me the error that the argument name is mandatory.
I've googled a lot but could not found any solution.
Am I doing something wrong?
Thank you!
Regards
David
More information about the FLOW3-general
mailing list