Anyone knows why the subject of the thread change?

Javi

On Feb 16, 5:56 pm, "NOOVEO - Christophe Brun" <c.b...@nooveo.fr>
wrote:
> Basically, the related table is an association table :
> VitrineLivre:
>   actAs: { Timestampable: ~ }
>   columns:
>     vitrine_paragraphe_id: { type: integer(4), primary: true }
>     livre_id: { type: integer(4), primary: true }
>   relations:
>     Livre:
>       type: one
>       local: livre_id
>       foreign: id
>     VitrineParagraphe:
>       type: one
>       local: vitrine_paragraphe_id
>       foreign: id
>
> I doctrine:admin-generate-d the module. I insert one object in my
> database (the 'new' form works).
> Now, if I want to display the list, Symfony throws an Internal Server
> Error (500) :
> The "/vitrinelivre/:Array/edit.:sf_format" route has some missing
> mandatory parameters (:Array).
>
> The generated route is :
> vitrine_livre:
>   class: sfDoctrineRouteCollection
>   options:
>     model:                VitrineLivre
>     module:               vitrinelivre
>     prefix_path:          /vitrinelivre
>     column:               Array
>     with_wildcard_routes: true
>
> The 'column' field must point to a unique column, and that's of course
> innapropriate in this case. What should I do to get it work ?

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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