I have identified that the constructor of DoctrineRecord assigns the default culture of the object. so it automatically creates the position on the culture of the session.
On Fri, Dec 4, 2009 at 11:19 AM, Raphael <[email protected]> wrote: > in fact it should have only one position in the attribute 'Translation'. > Now, why is it being created with two positions? I was just embeds culture > 'en'. > > > On Fri, Dec 4, 2009 at 11:06 AM, Raphael <[email protected]> wrote: > >> Hi, >> >> when Im using 'pt' as default culture for user session and set in my form >> the culture 'en', and then try to save I get a SQL error. >> The Doctrine try save a object translation with two positions in >> Translation attribute. I think that doctrine gets the wrong position for to >> insert SQL. I think that he gets the position of session user culture. >> >> Somebody help me? >> >> -- >> Raphael Almeida Araújo >> Homepage: http://sites.google.com/site/raphoxaraujo >> > > > > -- > Raphael Almeida Araújo > Homepage: http://sites.google.com/site/raphoxaraujo > -- Raphael Almeida Araújo Homepage: http://sites.google.com/site/raphoxaraujo -- You received this message because you are subscribed to the Google Groups "symfony users" 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-users?hl=en.
