{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2967","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2967/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2967/comments","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2967/events","html_url":"https://github.com/sonata-project/SonataAdminBundle/issues/2967","id":73247370,"number":2967,"title":"List view crashes dev-master","user":{"login":"mrjingles","id":622928,"avatar_url":"https://avatars.githubusercontent.com/u/622928?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjingles","html_url":"https://github.com/mrjingles","followers_url":"https://api.github.com/users/mrjingles/followers","following_url":"https://api.github.com/users/mrjingles/following{/other_user}","gists_url":"https://api.github.com/users/mrjingles/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjingles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjingles/subscriptions","organizations_url":"https://api.github.com/users/mrjingles/orgs","repos_url":"https://api.github.com/users/mrjingles/repos","events_url":"https://api.github.com/users/mrjingles/events{/privacy}","received_events_url":"https://api.github.com/users/mrjingles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-05-05T08:31:06Z","updated_at":"2015-05-06T05:23:13Z","closed_at":null,"body":"Some of my list views crash with the following error:\r\n> [2015-05-05 09:56:15] request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: \"An exception has been thrown during the rendering of a template (\"Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Foo\\Bundle\\BarBundle\\Entity\\BarTranslation' does not have a method '_action'\") in \"SonataAdminBundle:CRUD:base_list_inner_row.html.twig\" at line 18.\" at /var/www/app/cache/dev_mobile/classes.php line 4791 {\"exception\":\"[object] (Twig_Error_Runtime(code: 0): An exception has been thrown during the rendering of a template (\\\"Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Foo\\\\Bundle\\\\BarBundle\\\\Entity\\\\BarTranslation' does not have a method '_action'\\\") in \\\"SonataAdminBundle:CRUD:base_list_inner_row.html.twig\\\" at line 18. at /var/www/app/cache/dev_mobile/classes.php:4791, Symfony\\\\Component\\\\Debug\\\\Exception\\\\ContextErrorException(code: 0): Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Foo\\\\Bundle\\\\BarBundle\\\\Entity\\\\BarTranslation' does not have a method '_action' at /var/www/vendor/knplabs/doctrine-behaviors/src/Model/Translatable/TranslatableMethods.php:144)\"} []\r\n\r\nI am using sonata with the following setup:\r\n```\r\n\"sonata-project/core-bundle\": \"dev-master\",\r\n\"sonata-project/doctrine-orm-admin-bundle\": \"dev-master\",\r\n\"sonata-project/admin-bundle\": \"dev-master\",\r\n\"sonata-project/datagrid-bundle\": \"dev-master\",\r\n\"sonata-project/easy-extends-bundle\": \"dev-master\",\r\n\"sonata-project/classification-bundle\": \"dev-master\",\r\n\"sonata-project/user-bundle\": \"dev-master\",\r\n\"sonata-project/media-bundle\": \"dev-master\",\r\n\"sonata-project/news-bundle\": \"dev-master\",\r\n```\r\n\r\nand\r\n```\r\n\"knplabs/doctrine-behaviors\": \"~1.0\",\r\n```\r\nfor translation.\r\n\r\nIf I remove the \"_action\" section in ```configureListFields()``` the problems seems to be resolved:\r\n```\r\n->add('_action', 'actions', [\r\n    'actions' => [\r\n        'edit' => [],\r\n        'delete' => [],\r\n    ]\r\n])\r\n```"},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/comments/99326820","html_url":"https://github.com/sonata-project/SonataAdminBundle/issues/2967#issuecomment-99326820","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2967","id":99326820,"user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T05:23:13Z","updated_at":"2015-05-06T05:23:13Z","body":"@EmmanuelVella indeed, didn't see that. Are you planning a PR to fix it? If no time, I can manage to do it too."}}