{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataCoreBundle/issues/550","repository_url":"https://api.github.com/repos/sonata-project/SonataCoreBundle","labels_url":"https://api.github.com/repos/sonata-project/SonataCoreBundle/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataCoreBundle/issues/550/comments","events_url":"https://api.github.com/repos/sonata-project/SonataCoreBundle/issues/550/events","html_url":"https://github.com/sonata-project/SonataCoreBundle/pull/550","id":336202551,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NzExNDU4","number":550,"title":"Remove strong dependency on session","user":{"login":"tgalopin","id":1651494,"node_id":"MDQ6VXNlcjE2NTE0OTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1651494?v=4","gravatar_id":"","url":"https://api.github.com/users/tgalopin","html_url":"https://github.com/tgalopin","followers_url":"https://api.github.com/users/tgalopin/followers","following_url":"https://api.github.com/users/tgalopin/following{/other_user}","gists_url":"https://api.github.com/users/tgalopin/gists{/gist_id}","starred_url":"https://api.github.com/users/tgalopin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgalopin/subscriptions","organizations_url":"https://api.github.com/users/tgalopin/orgs","repos_url":"https://api.github.com/users/tgalopin/repos","events_url":"https://api.github.com/users/tgalopin/events{/privacy}","received_events_url":"https://api.github.com/users/tgalopin/received_events","type":"User","site_admin":false},"labels":[{"id":371423961,"node_id":"MDU6TGFiZWwzNzE0MjM5NjE=","url":"https://api.github.com/repos/sonata-project/SonataCoreBundle/labels/Needs:%20Upgrade%20note","name":"Needs: Upgrade note","color":"006b75","default":false},{"id":362441098,"node_id":"MDU6TGFiZWwzNjI0NDEwOTg=","url":"https://api.github.com/repos/sonata-project/SonataCoreBundle/labels/minor","name":"minor","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-27T12:12:08Z","updated_at":"2018-06-28T09:43:27Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataCoreBundle/pulls/550","html_url":"https://github.com/sonata-project/SonataCoreBundle/pull/550","diff_url":"https://github.com/sonata-project/SonataCoreBundle/pull/550.diff","patch_url":"https://github.com/sonata-project/SonataCoreBundle/pull/550.patch"},"body":"I am targeting 3.x because this PR is BC-compatible and fix a bug with some session handlers.\r\n\r\n## Changelog\r\n\r\n```markdown\r\n### Added\r\n- Added `FlashMessageRuntime` and `StatusRuntime` to remove strong dependency on the session introduced by Twig extensions\r\n```\r\n\r\n## Subject\r\n\r\nTwo Twig extensions of SonataCoreBundle relies on the session through the flash messages manager. In some contexts such as when sessions are stored in Redis and we try to warmup the cache in CLI without Redis available, this makes the process fails.\r\n\r\nThis PR fixes this by using Twig runtimes instead of a direct extension to avoid a strong dependency on the flash messages manager."},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataCoreBundle/issues/comments/400977517","html_url":"https://github.com/sonata-project/SonataCoreBundle/pull/550#issuecomment-400977517","issue_url":"https://api.github.com/repos/sonata-project/SonataCoreBundle/issues/550","id":400977517,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDk3NzUxNw==","user":{"login":"tgalopin","id":1651494,"node_id":"MDQ6VXNlcjE2NTE0OTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1651494?v=4","gravatar_id":"","url":"https://api.github.com/users/tgalopin","html_url":"https://github.com/tgalopin","followers_url":"https://api.github.com/users/tgalopin/followers","following_url":"https://api.github.com/users/tgalopin/following{/other_user}","gists_url":"https://api.github.com/users/tgalopin/gists{/gist_id}","starred_url":"https://api.github.com/users/tgalopin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgalopin/subscriptions","organizations_url":"https://api.github.com/users/tgalopin/orgs","repos_url":"https://api.github.com/users/tgalopin/repos","events_url":"https://api.github.com/users/tgalopin/events{/privacy}","received_events_url":"https://api.github.com/users/tgalopin/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T09:43:27Z","updated_at":"2018-06-28T09:43:27Z","author_association":"NONE","body":"I updated the PR and fixed Travis."}}
{"actor":{"display_login":"tgalopin"}}