Hello,

I use the plugi ahDoctrineEasyEmbeddedRelationsPlugin to embed forms.
My schema is basic, I have a pet that may have a type of crying, a
type of displacement, a place to live and belong to a group. So a four
relationships one to many.

I wanted my embed forms of animals in the middle of life. So I get the
opportunity to modify or remove an animal. But for 13 animals nested,
I get 60 requests!
Hey, it's a bit much ... How can we reduce this number? I searched
everywhere, but I can not find answers.

CanardCategorie:
  columns:
    vol_id:     { type: integer, notnull: true }
    cancan_id:  { type: integer, notnull: true }
    mare_id:    { type: integer, notnull: true }
    groupe_id:  { type: integer, notnull: false }
    intitule: { type: string(255), notnull: true, unique: true }
    description: { type: string(255), notnull: false }
    photo:       { type: string(255), notnull false }
  relations:
    CanardVol: { onDelete: CASCADE, local: vol_id, foreign: id,
foreignAlias: CanardVols }
    CanardCancan: { onDelete: CASCADE, local: cancan_id, foreign: id,
foreignAlias: CancardCancans }
    CanardMare:   { local: mare_id, foreign: id, foreignAlias:
CanardMaresA, alias: CanardMare, foreignType: many }
    CanardGroupe: { local: groupe_id, foreign: id, foreignAlias:
CanardGroupe }

CanardVol:
  columns:
    intitule: { type: string(255), notnull: true, unique: true }

CanardCancan:
  columns:
    intitule: { type: string(255), notnull: true, unique: true }

CanardMare:
  columns:
    intitule:    { type: string(255), notnull: true }
    temperature: { type: integer, notnull: true }

CanardGroupe:
  columns:
    intitule:      { type: string(255), notnull: true }

Thank you !

(I'm French, , Can be had noticed it !)

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to