Did you forget to include the hidden fields for the i18n forms into your
main form? Try it with <?php echo $form ?>, it should work. If you need to
render your form fields separately, be sure to include <?php echo
$form->renderHiddenFields() ?> instead of just <?php echo $form['id] ?>

Hope that helps.

Regards,
Christopher.

-----Ursprüngliche Nachricht-----
Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
Im Auftrag von HAUSa
Gesendet: Montag, 5. Juli 2010 16:22
An: symfony users
Betreff: [symfony-users] i18n doesn't save

I got two classes, user and user_i18n.
In my UserForm.class.php, I embed two UserI18nForm.class.php.

When I print my form, it looks all okay. But something strange happens
when I try to save the form ($form->save()).
If the records in the user_i18n database table don't exist yet, saving
goes well.
If the records already exist, and so it is an update, the new form
data is not saved.

Somebody who knows how this is possible? I'm using Propel with sf1.4

-- 
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

-- 
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