{"action":"created","issue":{"url":"https://api.github.com/repos/twigphp/Twig/issues/2200","repository_url":"https://api.github.com/repos/twigphp/Twig","labels_url":"https://api.github.com/repos/twigphp/Twig/issues/2200/labels{/name}","comments_url":"https://api.github.com/repos/twigphp/Twig/issues/2200/comments","events_url":"https://api.github.com/repos/twigphp/Twig/issues/2200/events","html_url":"https://github.com/twigphp/Twig/pull/2200","id":184641163,"number":2200,"title":"fixed regression when registering two extensions with the same class","user":{"login":"fabpot","id":47313,"avatar_url":"https://avatars.githubusercontent.com/u/47313?v=3","gravatar_id":"","url":"https://api.github.com/users/fabpot","html_url":"https://github.com/fabpot","followers_url":"https://api.github.com/users/fabpot/followers","following_url":"https://api.github.com/users/fabpot/following{/other_user}","gists_url":"https://api.github.com/users/fabpot/gists{/gist_id}","starred_url":"https://api.github.com/users/fabpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabpot/subscriptions","organizations_url":"https://api.github.com/users/fabpot/orgs","repos_url":"https://api.github.com/users/fabpot/repos","events_url":"https://api.github.com/users/fabpot/events{/privacy}","received_events_url":"https://api.github.com/users/fabpot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-22T16:54:52Z","updated_at":"2016-10-23T07:15:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/twigphp/Twig/pulls/2200","html_url":"https://github.com/twigphp/Twig/pull/2200","diff_url":"https://github.com/twigphp/Twig/pull/2200.diff","patch_url":"https://github.com/twigphp/Twig/pull/2200.patch"},"body":"fixed #2165"},"comment":{"url":"https://api.github.com/repos/twigphp/Twig/issues/comments/255573479","html_url":"https://github.com/twigphp/Twig/pull/2200#issuecomment-255573479","issue_url":"https://api.github.com/repos/twigphp/Twig/issues/2200","id":255573479,"user":{"login":"GawainLynch","id":1427081,"avatar_url":"https://avatars.githubusercontent.com/u/1427081?v=3","gravatar_id":"","url":"https://api.github.com/users/GawainLynch","html_url":"https://github.com/GawainLynch","followers_url":"https://api.github.com/users/GawainLynch/followers","following_url":"https://api.github.com/users/GawainLynch/following{/other_user}","gists_url":"https://api.github.com/users/GawainLynch/gists{/gist_id}","starred_url":"https://api.github.com/users/GawainLynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GawainLynch/subscriptions","organizations_url":"https://api.github.com/users/GawainLynch/orgs","repos_url":"https://api.github.com/users/GawainLynch/repos","events_url":"https://api.github.com/users/GawainLynch/events{/privacy}","received_events_url":"https://api.github.com/users/GawainLynch/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T07:15:02Z","updated_at":"2016-10-23T07:15:02Z","body":"> I have a blank page. \r\n\r\nYeah, you're probably using < Bolt 3.2 … It's a long slow process to get the code base up to scratch, but the in the upcoming 3.2 (RC tomorrow) I ripped out the various attempts and exception handling and have switched us to `symfony/debug` … not to mention the registration/request cycle abuse that we're finally almost away from.\r\n\r\n>  on your Twig filesystem loader, which breaks the contract of the original one as your override of findTemplate() returns a FileInterface object and not a string like the one in Twig.\r\n\r\nYeah, we are hoping to engage with you on something around this in Twig 2. We abstract most of our file system, 3.3 should allow most mounts to be on services like S3, and as Twig internally assumes a local filesystem we had to make a choice there … To be continued. (ping @CarsonF)\r\n\r\n> Can you tell me how I can reproduce this\r\n\r\nI have created a couple of quick extensions repositories, to minimise code steps, and below (tested here) gets you up an running in core-developer mode (not recommended, obviously, for real use).\r\n\r\n```\r\ngit clone https://github.com/bolt/bolt.git bolt-twig-debug\r\ncd bolt-twig-debug/\r\ngit checkout release/3.2 \r\ncomposer update\r\nmkdir -p extensions/local/bolt\r\ngit clone https://github.com/GawainLynch/bolt-extension-test-twig-a.git extensions/local/bolt/test-twig-a\r\ngit clone https://github.com/GawainLynch/bolt-extension-test-twig-b.git extensions/local/bolt/test-twig-b\r\n./app/nut extensions:setup\r\nphp -S localhost:8080 -t . index.php\r\n```\r\n\r\nLoad http://localhost:8080/ enter first user data, and you should be directed to the admin page.\r\n\r\nClick the link in the flash message \"It seems there's no content in the database. To get started quickly, add some Lorem Ipsum dummy content.\" to create dummy content.\r\n\r\nNavigate to http://localhost:8080/bolt/file/edit/themes/base-2016/index.twig\r\n\r\nAfter line 5 add:\r\n\r\n```twig\r\n    {{ twig_a()|raw }}\r\n    {{ twig_b()|raw }}\r\n```\r\n\r\nSave and visit http://localhost:8080/\r\n\r\nNow update Twig to `twig/twig:^1.26`\r\n\r\n**Note:** I have separated this step out, as the Twig extensions breakage won't allow you to complete initial set-up\r\n\r\nVisit http://localhost:8080/ :boom: \r\n\r\n"}}
{"actor":{"display_login":"GawainLynch"}}