{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/25019","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/25019/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/25019/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/25019/events","html_url":"https://github.com/symfony/symfony/issues/25019","id":275084243,"number":25019,"title":"[Templating] TemplateReference::getPath hardcodes \"views\" directory","user":{"login":"geecu","id":318567,"avatar_url":"https://avatars0.githubusercontent.com/u/318567?v=4","gravatar_id":"","url":"https://api.github.com/users/geecu","html_url":"https://github.com/geecu","followers_url":"https://api.github.com/users/geecu/followers","following_url":"https://api.github.com/users/geecu/following{/other_user}","gists_url":"https://api.github.com/users/geecu/gists{/gist_id}","starred_url":"https://api.github.com/users/geecu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geecu/subscriptions","organizations_url":"https://api.github.com/users/geecu/orgs","repos_url":"https://api.github.com/users/geecu/repos","events_url":"https://api.github.com/users/geecu/events{/privacy}","received_events_url":"https://api.github.com/users/geecu/received_events","type":"User","site_admin":false},"labels":[{"id":100079,"url":"https://api.github.com/repos/symfony/symfony/labels/Bug","name":"Bug","color":"e10c02","default":false},{"id":237003792,"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed","default":false},{"id":125363,"url":"https://api.github.com/repos/symfony/symfony/labels/Templating","name":"Templating","color":"DDDDDD","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-18T14:48:26Z","updated_at":"2017-11-19T17:35:28Z","closed_at":null,"author_association":"NONE","body":"| Q                | A\r\n| ---------------- | -----\r\n| Bug report?      | yes\r\n| Feature request? | no\r\n| BC Break report? | no\r\n| RFC?             | yes/no\r\n| Symfony version  | 3.4.0-BETA2\r\n\r\nWhile trying to add Symfony 4 support to [LiipThemeBundle](https://github.com/liip/LiipThemeBundle) I came across this: the bundle calls `Symfony\\Bundle\\FrameworkBundle\\Templating\\Template\\TemplateNameParser::parse()` with a simple name (not containing a bundle): `index.html`. This creates a `TemplateReference` with no bundle, but `TemplateReference::getPath()` returns `views/index.html.twig` for the path. As with the twig engine the templates is searched in `templates/` directory, this looks like a bug."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/345534649","html_url":"https://github.com/symfony/symfony/issues/25019#issuecomment-345534649","issue_url":"https://api.github.com/repos/symfony/symfony/issues/25019","id":345534649,"user":{"login":"nicolas-grekas","id":243674,"avatar_url":"https://avatars3.githubusercontent.com/u/243674?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolas-grekas","html_url":"https://github.com/nicolas-grekas","followers_url":"https://api.github.com/users/nicolas-grekas/followers","following_url":"https://api.github.com/users/nicolas-grekas/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-grekas/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-grekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-grekas/subscriptions","organizations_url":"https://api.github.com/users/nicolas-grekas/orgs","repos_url":"https://api.github.com/users/nicolas-grekas/repos","events_url":"https://api.github.com/users/nicolas-grekas/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-grekas/received_events","type":"User","site_admin":false},"created_at":"2017-11-19T17:35:27Z","updated_at":"2017-11-19T17:35:27Z","author_association":"OWNER","body":"@yceruto would you mind checking this one please?"}}
{"actor":{"display_login":"nicolas-grekas"}}