[TYPO3-mvc] Validating nested objects on create

Franz Koch typo3.RemoveForMessage at elements-net.de
Tue Aug 24 12:29:16 CEST 2010


Hey again,

> I seem to be to stupid to validate a nested object in a create action.
> Here's my scenario:
>
> Imagine a registration form where one can enter a address along with
> some other fields. The address is itself a object and is a property of
> my registration object. Rendering the form and having extbase generate
> my address property as object is working so far, except that my address
> object doesn't get validated at all, although it has properties with
> validation annotation.
>
> All other properties of my registration object get validated correctly,
> except of the address object.
>
> Does anybody have a idea what could be wrong before I begin digging the
> sources for a possible bug?

should have had a look in the bugtracker first - it's a "missing feature" ;)

http://forge.typo3.org/issues/6893

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list