annismckenzie/ahDoctrineEasyEmbeddedRelationsPlugin — Issue #7: ignoring embedded forms in embedded forms doesn't work
Author: christiankerl
Created: 2011-10-09 23:43:56+00:00
State: open

Hi,

I have the following form structure:

ParentForm
- embedded form for 1-1 relation
- embedded form for 1-* relation

if I bind the ParentForm the empty new relation form in the second nesting level is not ignored and i get validation errors

as far as I could trace the problem it is caused because the ahBaseFormDoctrine::doBind(...) method of the form in the second nesting level is not invoked

maybe this can be solved by moving the cleaning code from doBind to a post validator?!

thanks for your help!