Hello,

Sorry for replying that late.

I figured it out. Well, I actually disabled the plugin and follow
another post : http://www.nacho-martin.com/dynamic-embedded-forms-in-symfony
It's a little bit more complex to set up but it works like a charm.

Thank you for your reply though.

R.

On Aug 19, 1:00 am, Daniel Lohse <[email protected]> wrote:
> Hmm, this is a deeply nested embedded relation – am I right, that you're 
> really not editing the profile but the user – which embeds the profile which 
> embeds the interests? You could try to check out the trunk in the Subversion 
> repository because nested embedded relations were added recently by a 
> contributor. Just delete your plugin (how did you install it?) and either do 
> "svn 
> exporthttp://svn.symfony-project.com/plugins/ahDoctrineEasyEmbeddedRelation...plugins/ahDoctrineEasyEmbeddedRelationsPlugin";
>  from the project root or add it as an external definition.
>
> I'm the creator of this plugin and have recently gotten some really quality 
> contributions – and I know it works because I'm using it in multiple 
> projects. Maybe post the content of your form's configure() method? Anything 
> that will help to identify the issue. If you have more questions, please ask. 
> :)
>
> Cheers, Daniel
>
> On 18.08.2010, at 17:57, Rudth-Mael Galite wrote:
>
>
>
> > Hello everyone.
>
> > I am trying to manage a user's profile which has interests.
> > Here is the database structure :
>
> > Profile:
> >  actAs: { Timestampable: ~ }
> >  tableName: user_profile
> >  columns:
> >   ...
> >  relations:
> >    Interests:
> >      class: Interest
> >      local: id
> >      foreign: user_profile_id
> >      type: many
>
> > Interest:
> >  actAs: { Timestampable: ~ }
> >  columns:
> >    title: { type: string(255), notnull: true }
> >    user_profile_id: { type: integer, notnull: false }
>
> > I followed this post 
> > :http://tech.cibul.org/embedded-forms-with-symfony-1-4-and-jquery/
> > and also tried to use the ahDoctrineEasyEmbeddedRelationsPlugin but
> > failed every time.
>
> > When submitting the form, I get this error : 'Unexpected extra form
> > field named "Interests"'.
> > Can you help me please ?
>
> > --
> > 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 
> > [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

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

Reply via email to