I think your problem is in composite primary key in your Book model. Related topic: http://tohenk.wordpress.com/2009/04/22/using-multiple-primary-keys-in-admin-generator/
On 13 bře, 04:23, "t...@soe" <taylor....@gmail.com> wrote: > I have two tables: headline, review. One-to-many relationship, i.e. > many reviews may belongs to one headline. > > 1. symfony doctrine:generate-admin backend BookHeadline is successful. > I can go to the backend by /book_headline and admin the headline data; > 2. symfony doctrine:generate-admin backend BookReview seems successful > but when I go to the backend by /book_review, the following error > occurs: > > 500 | Internal Server Error | InvalidArgumentException > The "/book_review/:Array.:sf_format" route has some missing mandatory > parameters (:Array). > > When I try to look at the routes, it shows: > Name Method Pattern > book_review GET /book_review.:sf_format > book_review_new GET /book_review/new.:sf_format > book_review_create POST /book_review.:sf_format > book_review_edit GET /book_review/:Array/edit.:sf_format > book_review_update PUT /book_review/:Array.:sf_format > book_review_delete DELETE /book_review/:Array.:sf_format > book_review_show GET /book_review/:Array.:sf_format > book_review_object GET / > book_review/:Array/:action.:sf_format > book_review_collection POST /book_review/:action/ > action.:sf_format > > I can go to "new" action, though. > > Any hints on this? -- 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