Hello everybody,
I was about to create a new ticket for this, but as I may be wrong with the
way I try to do my thing, I prefer asking here to know if someone has
already encoutered this.
Well so, I use Doctrine with sf1.1 , and I'm when I'm trying to use
doctrine-generated forms with i18n, everything works fine until I try to
save the data commited via the form. When I do so, the main data (i.e. the
stuff associated with the model in relation with the "main" doctrine form)
is commited, but not the associated i18n data.
Here is the code :
public function executeCreate($request)
{
$this->form = new RuleForm();
$this->form->embedI18n(array($this->default_language));
if($request->isMethod('POST'))
{
$this->form->bind($request->getParameter('rule'));
if($this->form->isValid())
{
$this->form->save();
}
}
}
Well, if someone has experienced such a thing (encountered such a bug?),
please tell me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---