Hi people,

I have 2 tables Account (id, email, password), and profile(id, account_id, 
name, dob, status).

I thought to use mergeForm and make them as one form and keep things simple 
and clean. 

I followed this tutorial 
http://www.devexp.eu/2009/03/19/symfony-forms-framework-merge-2-forms/

The difference i see is that in this tutorial the mergedForm does not have 
an id column/field, but mine does, which is giving me problem on edit.

When i create a new account every thing works fine, and all data is saved 
with proper linking. But when i edit the and save the form - i get id: 
invalid profile id error on renderGlobalErrors() 

As i understand it, the id of the main form is also being set in the id 
field of the profile which ofcourse is not correct and thus would throw 
invalid error

can any one please help me out ... 

thanks 

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to