{"action":"created","comment":{"url":"https://api.github.com/repos/forkcms/forkcms/pulls/comments/90014780","pull_request_review_id":10540190,"id":90014780,"diff_hunk":"@@ -30,14 +30,11 @@ class TwigTemplate extends BaseTwigTemplate\n {\n     /**\n      * The constructor will store the instance in the reference, preset some settings and map the custom modifiers.\n-     *\n-     * @param bool $addToReference Should the instance be added into the reference.\n      */\n-    public function __construct($addToReference = true)\n+    public function __construct()\n     {\n-        if ($addToReference) {","path":"src/Backend/Core/Engine/TwigTemplate.php","position":10,"original_position":10,"commit_id":"1d9f1c98e4deb39dd1b7264abee55ff58bf3076b","original_commit_id":"1d9f1c98e4deb39dd1b7264abee55ff58bf3076b","user":{"login":"jeroendesloovere","id":588616,"avatar_url":"https://avatars.githubusercontent.com/u/588616?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroendesloovere","html_url":"https://github.com/jeroendesloovere","followers_url":"https://api.github.com/users/jeroendesloovere/followers","following_url":"https://api.github.com/users/jeroendesloovere/following{/other_user}","gists_url":"https://api.github.com/users/jeroendesloovere/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroendesloovere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroendesloovere/subscriptions","organizations_url":"https://api.github.com/users/jeroendesloovere/orgs","repos_url":"https://api.github.com/users/jeroendesloovere/repos","events_url":"https://api.github.com/users/jeroendesloovere/events{/privacy}","received_events_url":"https://api.github.com/users/jeroendesloovere/received_events","type":"User","site_admin":false},"body":"Hmmm, I should investigate further then, because removing this, I fixed everything.","created_at":"2016-11-29T14:08:18Z","updated_at":"2016-11-29T14:08:18Z","html_url":"https://github.com/forkcms/forkcms/pull/1830#discussion_r90014780","pull_request_url":"https://api.github.com/repos/forkcms/forkcms/pulls/1830","_links":{"self":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/comments/90014780"},"html":{"href":"https://github.com/forkcms/forkcms/pull/1830#discussion_r90014780"},"pull_request":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/1830"}}},"pull_request":{"url":"https://api.github.com/repos/forkcms/forkcms/pulls/1830","id":92587298,"html_url":"https://github.com/forkcms/forkcms/pull/1830","diff_url":"https://github.com/forkcms/forkcms/pull/1830.diff","patch_url":"https://github.com/forkcms/forkcms/pull/1830.patch","issue_url":"https://api.github.com/repos/forkcms/forkcms/issues/1830","number":1830,"state":"open","locked":false,"title":"Fixing Backend sandbox to stand alone","user":{"login":"jeroendesloovere","id":588616,"avatar_url":"https://avatars.githubusercontent.com/u/588616?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroendesloovere","html_url":"https://github.com/jeroendesloovere","followers_url":"https://api.github.com/users/jeroendesloovere/followers","following_url":"https://api.github.com/users/jeroendesloovere/following{/other_user}","gists_url":"https://api.github.com/users/jeroendesloovere/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroendesloovere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroendesloovere/subscriptions","organizations_url":"https://api.github.com/users/jeroendesloovere/orgs","repos_url":"https://api.github.com/users/jeroendesloovere/repos","events_url":"https://api.github.com/users/jeroendesloovere/events{/privacy}","received_events_url":"https://api.github.com/users/jeroendesloovere/received_events","type":"User","site_admin":false},"body":"I've discovered that the Backend uses previous template ($this->get('template)) for every widget that it creates. This isn't correct behavior for sandboxed templates. They should be empty at start.","created_at":"2016-11-07T13:56:57Z","updated_at":"2016-11-29T14:08:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b28018c75965ad8f3a07da34b3e126bc90a01c0c","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/forkcms/forkcms/milestones/31","html_url":"https://github.com/forkcms/forkcms/milestones/4.4.1","labels_url":"https://api.github.com/repos/forkcms/forkcms/milestones/31/labels","id":2163630,"number":31,"title":"4.4.1","description":null,"creator":{"login":"carakas","id":3634654,"avatar_url":"https://avatars.githubusercontent.com/u/3634654?v=3","gravatar_id":"","url":"https://api.github.com/users/carakas","html_url":"https://github.com/carakas","followers_url":"https://api.github.com/users/carakas/followers","following_url":"https://api.github.com/users/carakas/following{/other_user}","gists_url":"https://api.github.com/users/carakas/gists{/gist_id}","starred_url":"https://api.github.com/users/carakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carakas/subscriptions","organizations_url":"https://api.github.com/users/carakas/orgs","repos_url":"https://api.github.com/users/carakas/repos","events_url":"https://api.github.com/users/carakas/events{/privacy}","received_events_url":"https://api.github.com/users/carakas/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2016-11-29T13:27:55Z","updated_at":"2016-11-29T14:07:55Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/forkcms/forkcms/pulls/1830/commits","review_comments_url":"https://api.github.com/repos/forkcms/forkcms/pulls/1830/comments","review_comment_url":"https://api.github.com/repos/forkcms/forkcms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/forkcms/forkcms/issues/1830/comments","statuses_url":"https://api.github.com/repos/forkcms/forkcms/statuses/1d9f1c98e4deb39dd1b7264abee55ff58bf3076b","head":{"label":"jeroendesloovere:fixes-sandbox-stand-alone","ref":"fixes-sandbox-stand-alone","sha":"1d9f1c98e4deb39dd1b7264abee55ff58bf3076b","user":{"login":"jeroendesloovere","id":588616,"avatar_url":"https://avatars.githubusercontent.com/u/588616?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroendesloovere","html_url":"https://github.com/jeroendesloovere","followers_url":"https://api.github.com/users/jeroendesloovere/followers","following_url":"https://api.github.com/users/jeroendesloovere/following{/other_user}","gists_url":"https://api.github.com/users/jeroendesloovere/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroendesloovere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroendesloovere/subscriptions","organizations_url":"https://api.github.com/users/jeroendesloovere/orgs","repos_url":"https://api.github.com/users/jeroendesloovere/repos","events_url":"https://api.github.com/users/jeroendesloovere/events{/privacy}","received_events_url":"https://api.github.com/users/jeroendesloovere/received_events","type":"User","site_admin":false},"repo":{"id":18802379,"name":"forkcms","full_name":"jeroendesloovere/forkcms","owner":{"login":"jeroendesloovere","id":588616,"avatar_url":"https://avatars.githubusercontent.com/u/588616?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroendesloovere","html_url":"https://github.com/jeroendesloovere","followers_url":"https://api.github.com/users/jeroendesloovere/followers","following_url":"https://api.github.com/users/jeroendesloovere/following{/other_user}","gists_url":"https://api.github.com/users/jeroendesloovere/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroendesloovere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroendesloovere/subscriptions","organizations_url":"https://api.github.com/users/jeroendesloovere/orgs","repos_url":"https://api.github.com/users/jeroendesloovere/repos","events_url":"https://api.github.com/users/jeroendesloovere/events{/privacy}","received_events_url":"https://api.github.com/users/jeroendesloovere/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeroendesloovere/forkcms","description":"Fork is an open source CMS.","fork":true,"url":"https://api.github.com/repos/jeroendesloovere/forkcms","forks_url":"https://api.github.com/repos/jeroendesloovere/forkcms/forks","keys_url":"https://api.github.com/repos/jeroendesloovere/forkcms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeroendesloovere/forkcms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeroendesloovere/forkcms/teams","hooks_url":"https://api.github.com/repos/jeroendesloovere/forkcms/hooks","issue_events_url":"https://api.github.com/repos/jeroendesloovere/forkcms/issues/events{/number}","events_url":"https://api.github.com/repos/jeroendesloovere/forkcms/events","assignees_url":"https://api.github.com/repos/jeroendesloovere/forkcms/assignees{/user}","branches_url":"https://api.github.com/repos/jeroendesloovere/forkcms/branches{/branch}","tags_url":"https://api.github.com/repos/jeroendesloovere/forkcms/tags","blobs_url":"https://api.github.com/repos/jeroendesloovere/forkcms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeroendesloovere/forkcms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeroendesloovere/forkcms/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeroendesloovere/forkcms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeroendesloovere/forkcms/statuses/{sha}","languages_url":"https://api.github.com/repos/jeroendesloovere/forkcms/languages","stargazers_url":"https://api.github.com/repos/jeroendesloovere/forkcms/stargazers","contributors_url":"https://api.github.com/repos/jeroendesloovere/forkcms/contributors","subscribers_url":"https://api.github.com/repos/jeroendesloovere/forkcms/subscribers","subscription_url":"https://api.github.com/repos/jeroendesloovere/forkcms/subscription","commits_url":"https://api.github.com/repos/jeroendesloovere/forkcms/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeroendesloovere/forkcms/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeroendesloovere/forkcms/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeroendesloovere/forkcms/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeroendesloovere/forkcms/contents/{+path}","compare_url":"https://api.github.com/repos/jeroendesloovere/forkcms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeroendesloovere/forkcms/merges","archive_url":"https://api.github.com/repos/jeroendesloovere/forkcms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeroendesloovere/forkcms/downloads","issues_url":"https://api.github.com/repos/jeroendesloovere/forkcms/issues{/number}","pulls_url":"https://api.github.com/repos/jeroendesloovere/forkcms/pulls{/number}","milestones_url":"https://api.github.com/repos/jeroendesloovere/forkcms/milestones{/number}","notifications_url":"https://api.github.com/repos/jeroendesloovere/forkcms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeroendesloovere/forkcms/labels{/name}","releases_url":"https://api.github.com/repos/jeroendesloovere/forkcms/releases{/id}","deployments_url":"https://api.github.com/repos/jeroendesloovere/forkcms/deployments","created_at":"2014-04-15T14:08:29Z","updated_at":"2016-10-24T08:33:48Z","pushed_at":"2016-11-29T14:06:27Z","git_url":"git://github.com/jeroendesloovere/forkcms.git","ssh_url":"git@github.com:jeroendesloovere/forkcms.git","clone_url":"https://github.com/jeroendesloovere/forkcms.git","svn_url":"https://github.com/jeroendesloovere/forkcms","homepage":"http://www.fork-cms.com","size":46142,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"forkcms:master","ref":"master","sha":"1cf0853b33fc7dfb3224d1c286487bcdb52ab444","user":{"login":"forkcms","id":312505,"avatar_url":"https://avatars.githubusercontent.com/u/312505?v=3","gravatar_id":"","url":"https://api.github.com/users/forkcms","html_url":"https://github.com/forkcms","followers_url":"https://api.github.com/users/forkcms/followers","following_url":"https://api.github.com/users/forkcms/following{/other_user}","gists_url":"https://api.github.com/users/forkcms/gists{/gist_id}","starred_url":"https://api.github.com/users/forkcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forkcms/subscriptions","organizations_url":"https://api.github.com/users/forkcms/orgs","repos_url":"https://api.github.com/users/forkcms/repos","events_url":"https://api.github.com/users/forkcms/events{/privacy}","received_events_url":"https://api.github.com/users/forkcms/received_events","type":"Organization","site_admin":false},"repo":{"id":1138583,"name":"forkcms","full_name":"forkcms/forkcms","owner":{"login":"forkcms","id":312505,"avatar_url":"https://avatars.githubusercontent.com/u/312505?v=3","gravatar_id":"","url":"https://api.github.com/users/forkcms","html_url":"https://github.com/forkcms","followers_url":"https://api.github.com/users/forkcms/followers","following_url":"https://api.github.com/users/forkcms/following{/other_user}","gists_url":"https://api.github.com/users/forkcms/gists{/gist_id}","starred_url":"https://api.github.com/users/forkcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forkcms/subscriptions","organizations_url":"https://api.github.com/users/forkcms/orgs","repos_url":"https://api.github.com/users/forkcms/repos","events_url":"https://api.github.com/users/forkcms/events{/privacy}","received_events_url":"https://api.github.com/users/forkcms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/forkcms/forkcms","description":"Fork is an easy to use open source CMS using Symfony Components.","fork":false,"url":"https://api.github.com/repos/forkcms/forkcms","forks_url":"https://api.github.com/repos/forkcms/forkcms/forks","keys_url":"https://api.github.com/repos/forkcms/forkcms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/forkcms/forkcms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/forkcms/forkcms/teams","hooks_url":"https://api.github.com/repos/forkcms/forkcms/hooks","issue_events_url":"https://api.github.com/repos/forkcms/forkcms/issues/events{/number}","events_url":"https://api.github.com/repos/forkcms/forkcms/events","assignees_url":"https://api.github.com/repos/forkcms/forkcms/assignees{/user}","branches_url":"https://api.github.com/repos/forkcms/forkcms/branches{/branch}","tags_url":"https://api.github.com/repos/forkcms/forkcms/tags","blobs_url":"https://api.github.com/repos/forkcms/forkcms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/forkcms/forkcms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/forkcms/forkcms/git/refs{/sha}","trees_url":"https://api.github.com/repos/forkcms/forkcms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/forkcms/forkcms/statuses/{sha}","languages_url":"https://api.github.com/repos/forkcms/forkcms/languages","stargazers_url":"https://api.github.com/repos/forkcms/forkcms/stargazers","contributors_url":"https://api.github.com/repos/forkcms/forkcms/contributors","subscribers_url":"https://api.github.com/repos/forkcms/forkcms/subscribers","subscription_url":"https://api.github.com/repos/forkcms/forkcms/subscription","commits_url":"https://api.github.com/repos/forkcms/forkcms/commits{/sha}","git_commits_url":"https://api.github.com/repos/forkcms/forkcms/git/commits{/sha}","comments_url":"https://api.github.com/repos/forkcms/forkcms/comments{/number}","issue_comment_url":"https://api.github.com/repos/forkcms/forkcms/issues/comments{/number}","contents_url":"https://api.github.com/repos/forkcms/forkcms/contents/{+path}","compare_url":"https://api.github.com/repos/forkcms/forkcms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/forkcms/forkcms/merges","archive_url":"https://api.github.com/repos/forkcms/forkcms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/forkcms/forkcms/downloads","issues_url":"https://api.github.com/repos/forkcms/forkcms/issues{/number}","pulls_url":"https://api.github.com/repos/forkcms/forkcms/pulls{/number}","milestones_url":"https://api.github.com/repos/forkcms/forkcms/milestones{/number}","notifications_url":"https://api.github.com/repos/forkcms/forkcms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/forkcms/forkcms/labels{/name}","releases_url":"https://api.github.com/repos/forkcms/forkcms/releases{/id}","deployments_url":"https://api.github.com/repos/forkcms/forkcms/deployments","created_at":"2010-12-04T18:06:15Z","updated_at":"2016-11-17T05:18:08Z","pushed_at":"2016-11-29T14:06:28Z","git_url":"git://github.com/forkcms/forkcms.git","ssh_url":"git@github.com:forkcms/forkcms.git","clone_url":"https://github.com/forkcms/forkcms.git","svn_url":"https://github.com/forkcms/forkcms","homepage":"http://www.fork-cms.com","size":64142,"stargazers_count":934,"watchers_count":934,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":240,"mirror_url":null,"open_issues_count":33,"forks":240,"open_issues":33,"watchers":934,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/1830"},"html":{"href":"https://github.com/forkcms/forkcms/pull/1830"},"issue":{"href":"https://api.github.com/repos/forkcms/forkcms/issues/1830"},"comments":{"href":"https://api.github.com/repos/forkcms/forkcms/issues/1830/comments"},"review_comments":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/1830/comments"},"review_comment":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/forkcms/forkcms/pulls/1830/commits"},"statuses":{"href":"https://api.github.com/repos/forkcms/forkcms/statuses/1d9f1c98e4deb39dd1b7264abee55ff58bf3076b"}}}}
{"actor":{"display_login":"jeroendesloovere"}}