sonata-project/SonataAdminBundle — Issue #363: problem in overwriting editAction
Author: didi-lonely
Created: 2011-10-31 10:49:58+00:00
State: open

Hi,

When I try to orverwrite the editAction methode in the Admin Controller it display:
Runtime Notice: Declaration of Ratp\AppliBundle\Controller\RoleAdminController::editAction() should be compatible with that of Sonata\AdminBundle\Controller\CRUDController::editAction() in /home/eh712273/ratp/dev/sf2/php-dev/src/Ratp/AppliBundle/Controller/RoleAdminController.php line 8

I don't know what's wrong, especially because it work just after a cache:clear and then, when I refresh the page it no longer works.

Does anyone could help me please.