{"action":"created","issue":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/247","labels_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/247/comments","events_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/247/events","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/247","id":70623741,"number":247,"title":"Template name \"@EasyAdmin/XYZ\" is not valid","user":{"login":"sylvainbannier","id":452941,"avatar_url":"https://avatars.githubusercontent.com/u/452941?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvainbannier","html_url":"https://github.com/sylvainbannier","followers_url":"https://api.github.com/users/sylvainbannier/followers","following_url":"https://api.github.com/users/sylvainbannier/following{/other_user}","gists_url":"https://api.github.com/users/sylvainbannier/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvainbannier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvainbannier/subscriptions","organizations_url":"https://api.github.com/users/sylvainbannier/orgs","repos_url":"https://api.github.com/users/sylvainbannier/repos","events_url":"https://api.github.com/users/sylvainbannier/events{/privacy}","received_events_url":"https://api.github.com/users/sylvainbannier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-24T08:21:39Z","updated_at":"2015-04-27T18:41:32Z","closed_at":null,"body":"I installed version 1.3 on symfony 2.5 and here's the error I got : \r\n\r\n    Template name \"@EasyAdmin/folder/XYZ.html.twig\" is not valid\r\n\r\nI had to replace the `@` syntax with `EasyAdminBundle:folder:XYZ.html.twig` everywhere to get it work.\r\nSomething I didn't get here or is there definitily something to change here like I did ?"},"comment":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/comments/96775615","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/247#issuecomment-96775615","issue_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/247","id":96775615,"user":{"login":"javiereguiluz","id":73419,"avatar_url":"https://avatars.githubusercontent.com/u/73419?v=3","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T18:41:32Z","updated_at":"2015-04-27T18:41:32Z","body":"My guess is that eZ Publish is changing somehow the original Symfony template loader. By default, Symfony registers a \"namespace\" for your bundle. If the bundle is called `EasyAdminBundle`, the namespace registered by Symfony is `EasyAdmin` and therefore, `@EasyAdmin/...` works right.\r\n\r\nIn this case it seems that the namespace is not automaticall registered. You probably can register the namespace manually:\r\n\r\n```yaml\r\n# app/config/config.yml\r\ntwig:\r\n    paths:\r\n        '%kernel.root_dir%/../vendor/javiereguiluz/easyadmin-bundle/Resources/views': EasyAdmin\r\n```\r\n\r\nIn any case, this is a temporary solution which is never needed when using \"a pure Symfony application\". The real solution would be to ask someone expert in eZ Publish about the Twig namespace registering."}}