Le 22/07/2011 11:53, Jerome Aubry a écrit :
Hello,
After more than 1 year on sf1.4, I am finaly testing sf2 !
It has been completely redesigned ! Waow, I have to get used to...
In my first test, I generated an Entity : Admin/Client
Then, I generated the CRUD with the automatic routing update.
I finaly have a
/src/company/board/Resources/config/routing/admin_client.yml (with all
the actions).
Before that, I had a /src/company/board/Resources/config/routing.yml
for the default page (hello).
When I display the page /admin_client in browser, i get an error "No
route found for "GET /admin_client"
In
\vendor\symfony\src\Symfony\Bundle\FrameworkBundle\EventListener\RouterListener.php
line 88
Everything works fine if I add :
admin_client:
resource:
"@Company/BoardBundle/Resources/config/routing/admin_client.yml"
prefix: /admin_client
Do I have to add this line manually each time or maybe the generator
bypass it ?
Thx
The generator should add it automatically but it fails currently. This
is a known bug.
--
Christophe | Stof
--
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 developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en