not the /trunk, but /branches/1.1. Fabien
-- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Loïc Vernet wrote: > Ok, thanks Fabien, i will use the trunk then. > > Loïc. > > ----- Message d'origine ---- > De : Fabien POTENCIER <[EMAIL PROTECTED]> > À : symfony-users@googlegroups.com > Envoyé le : Jeudi, 10 Avril 2008, 16h00mn 22s > Objet : [symfony-users] Re: problems generation of form in 1.1b2 > > > Hi Loïc, > > Loïc Vernet wrote: >> Hi, >> >> I am trying the new form system, but generating the forms from the Askeet >> schema, it seems there is a problem with many-to-many relations >> >> in the BaseQuestionForm class i have: >> >> protected function doSave($con = null) >> { >> parent::doSave($con); >> >> $this->saveUserList($con); >> $this->saveUserList($con); >> $this->saveUserList($con); >> } >> >> the saveUserList function is declared 3 times, one for the Interest table >> one for the question_tag and one for the resport_question table... >> >> In the widgets declaration there are also 3 entries for the user_list >> >> >> 'ask_user_list' => new sfWidgetFormPropelSelectMany(array('model' >> => 'User')), >> 'ask_user_list' => new sfWidgetFormPropelSelectMany(array('model' >> => 'User')), >> 'ask_user_list' => new sfWidgetFormPropelSelectMany(array('model' >> => 'User')), >> >> >> Or is it beacause there are probleme with schemas written in xml ? >> Any thought ? Should i create a ticket ? > > This was a bug when you have several m2m relationship with the same > foreign object... It's fixed in r8384. > > Thanks ;) > Fabien > >> >> COil >> >> >> >> _____________________________________________________________________________ >> >> Envoyez avec Yahoo! Mail. Une boite mail plus intelligente >> http://mail.yahoo.fr >> >> > > > > > > > > > > _____________________________________________________________________________ > Envoyez avec Yahoo! Mail. Une boite mail plus intelligente > http://mail.yahoo.fr > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---