[symfony-users] Re: Validation propagating to related entities in Symfony2

2011-05-02 Thread Alexander Pilipenko
Hi all. Today I've encountered this problem with "recursive" validation and it seems this thread is the only one, where this question is being discussed. On Apr 18, 9:00 pm, whynotmatt wrote: > On a web form, for optimization reasons, we don't need to submit all > fields from the referenced enti

[symfony-users] Re: Validation propagating to related entities in Symfony2

2011-04-18 Thread whynotmatt
On a web form, for optimization reasons, we don't need to submit all fields from the referenced entity, only the entity id. So yes, turning off validation on referenced entities and only validating the referenced id seems like the best solution to me. With the cascading validation as it is now, ho