This was a bug when you have several m2m relationship with the same 
foreign object... It's fixed in r8384.

Thanks ;)
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:
> 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 problems with schemas written in xml ?
> Any thought ? Should i create a ticket ?
> 
> 
> COil
> 
> 
> 
> 
>       
> _____________________________________________________________________________ 
> 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to