[TYPO3-mvc] InifiniteLoop but using @donotvalidate

Johannes Steu typo at motiv-sport.de
Tue Feb 21 12:12:15 CET 2012


Hey,

i'm stucking atm with validating my forms. In my model all attributes are using 
@validate NotEmpty, like the ExtensionBuilder put that in.

Now i always get this error when editing a form and leaving a field blank:
#1217839467: Could not ultimately dispatch the request after 101 iterations. Most probably, a @dontvalidate annotation is missing on re-displaying a form with validation errors.

But I am using the @donotvalidate annotation. Here is the Code from my controller:

editAction:

 /**
     * Editieren der Anforderung
     *
     * @param Tx_FhdoRequest_Domain_Model_Request $request
     * @donotvalidate $request
     * @return void
     */
    public function editAction(Tx_FhdoRequest_Domain_Model_Request $request) { [...] }


updateAction:

 /**
     * Anforderung aktualisieren
     *
     * @param Tx_FhdoRequest_Domain_Model_Request $request
     * @return void
     */
    public function updateAction(Tx_FhdoRequest_Domain_Model_Request $request) { [...] }

It's the same with the new and create Action.

Am i missing anything?

Thanks for your help,
Johannes




More information about the TYPO3-project-typo3v4mvc mailing list