{"action":"created","issue":{"url":"https://api.github.com/repos/sulu/sulu/issues/2501","repository_url":"https://api.github.com/repos/sulu/sulu","labels_url":"https://api.github.com/repos/sulu/sulu/issues/2501/labels{/name}","comments_url":"https://api.github.com/repos/sulu/sulu/issues/2501/comments","events_url":"https://api.github.com/repos/sulu/sulu/issues/2501/events","html_url":"https://github.com/sulu/sulu/issues/2501","id":162020233,"number":2501,"title":"Request not passed in preview to controller action","user":{"login":"piratadelfuturo","id":466499,"avatar_url":"https://avatars.githubusercontent.com/u/466499?v=3","gravatar_id":"","url":"https://api.github.com/users/piratadelfuturo","html_url":"https://github.com/piratadelfuturo","followers_url":"https://api.github.com/users/piratadelfuturo/followers","following_url":"https://api.github.com/users/piratadelfuturo/following{/other_user}","gists_url":"https://api.github.com/users/piratadelfuturo/gists{/gist_id}","starred_url":"https://api.github.com/users/piratadelfuturo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piratadelfuturo/subscriptions","organizations_url":"https://api.github.com/users/piratadelfuturo/orgs","repos_url":"https://api.github.com/users/piratadelfuturo/repos","events_url":"https://api.github.com/users/piratadelfuturo/events{/privacy}","received_events_url":"https://api.github.com/users/piratadelfuturo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-23T20:51:19Z","updated_at":"2016-06-24T05:25:54Z","closed_at":null,"body":"| Q | A\r\n| --- | ---\r\n| Bug? | yes\r\n| New Feature? | no\r\n| Sulu Version | 1.2\r\n\r\n#### Actual Behavior\r\n\r\nThe website preview brakes if I rendered a custom action from a custom controller if I set the request to be passed as parameter, while in the Website context works fine.\r\n\r\n#### Expected Behavior\r\n\r\nPreview and Website should work similarly.\r\n\r\n#### Steps to Reproduce\r\n\r\nCreate a custom controller and set Request as last parameter, usually the request should be passed, this is a symfony spec.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sulu/sulu/issues/comments/228260933","html_url":"https://github.com/sulu/sulu/issues/2501#issuecomment-228260933","issue_url":"https://api.github.com/repos/sulu/sulu/issues/2501","id":228260933,"user":{"login":"wachterjohannes","id":1464615,"avatar_url":"https://avatars.githubusercontent.com/u/1464615?v=3","gravatar_id":"","url":"https://api.github.com/users/wachterjohannes","html_url":"https://github.com/wachterjohannes","followers_url":"https://api.github.com/users/wachterjohannes/followers","following_url":"https://api.github.com/users/wachterjohannes/following{/other_user}","gists_url":"https://api.github.com/users/wachterjohannes/gists{/gist_id}","starred_url":"https://api.github.com/users/wachterjohannes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wachterjohannes/subscriptions","organizations_url":"https://api.github.com/users/wachterjohannes/orgs","repos_url":"https://api.github.com/users/wachterjohannes/repos","events_url":"https://api.github.com/users/wachterjohannes/events{/privacy}","received_events_url":"https://api.github.com/users/wachterjohannes/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T05:25:54Z","updated_at":"2016-06-24T05:25:54Z","body":"For preview we dont use the \"normal\" routing way of symfony this is a big problem of compatability with symfony 3. you have to use `$this->getRequest()` in the controller to be sure that the preview is working correctly."}}
{"actor":{"display_login":"wachterjohannes"}}