{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/dbal/issues/2821","repository_url":"https://api.github.com/repos/doctrine/dbal","labels_url":"https://api.github.com/repos/doctrine/dbal/issues/2821/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/dbal/issues/2821/comments","events_url":"https://api.github.com/repos/doctrine/dbal/issues/2821/events","html_url":"https://github.com/doctrine/dbal/pull/2821","id":252045167,"number":2821,"title":"Platform from params are not correctly passed to a `QueryCacheProfile`","user":{"login":"kimhemsoe","id":568787,"avatar_url":"https://avatars3.githubusercontent.com/u/568787?v=4","gravatar_id":"","url":"https://api.github.com/users/kimhemsoe","html_url":"https://github.com/kimhemsoe","followers_url":"https://api.github.com/users/kimhemsoe/followers","following_url":"https://api.github.com/users/kimhemsoe/following{/other_user}","gists_url":"https://api.github.com/users/kimhemsoe/gists{/gist_id}","starred_url":"https://api.github.com/users/kimhemsoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimhemsoe/subscriptions","organizations_url":"https://api.github.com/users/kimhemsoe/orgs","repos_url":"https://api.github.com/users/kimhemsoe/repos","events_url":"https://api.github.com/users/kimhemsoe/events{/privacy}","received_events_url":"https://api.github.com/users/kimhemsoe/received_events","type":"User","site_admin":false},"labels":[{"id":309383107,"url":"https://api.github.com/repos/doctrine/dbal/labels/BC%20Fix","name":"BC Fix","color":"009800","default":false},{"id":225630643,"url":"https://api.github.com/repos/doctrine/dbal/labels/Bug","name":"Bug","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars2.githubusercontent.com/u/154256?v=4","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ocramius","id":154256,"avatar_url":"https://avatars2.githubusercontent.com/u/154256?v=4","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/doctrine/dbal/milestones/61","html_url":"https://github.com/doctrine/dbal/milestone/61","labels_url":"https://api.github.com/repos/doctrine/dbal/milestones/61/labels","id":2667235,"number":61,"title":"2.6.2","description":"","creator":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars2.githubusercontent.com/u/154256?v=4","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2017-07-28T10:42:57Z","updated_at":"2017-08-28T10:51:43Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2017-08-22T18:16:49Z","updated_at":"2017-08-28T10:53:59Z","closed_at":"2017-08-28T10:51:43Z","pull_request":{"url":"https://api.github.com/repos/doctrine/dbal/pulls/2821","html_url":"https://github.com/doctrine/dbal/pull/2821","diff_url":"https://github.com/doctrine/dbal/pull/2821.diff","patch_url":"https://github.com/doctrine/dbal/pull/2821.patch"},"body":"If you pass in the platform from connection params it will be used to generate the cache key, which in most cases is not serializable.\r\n\r\nhttps://github.com/doctrine/dbal/blob/db1395b7d2baaa3a027a3727fa34e17a5a85d54f/lib/Doctrine/DBAL/Cache/QueryCacheProfile.php#L105\r\n\r\nI can create a better test case where it will fail from the serialize() call if needed. But i was lazy, copy pasted one there fitted my case :D\r\n"},"comment":{"url":"https://api.github.com/repos/doctrine/dbal/issues/comments/325322812","html_url":"https://github.com/doctrine/dbal/pull/2821#issuecomment-325322812","issue_url":"https://api.github.com/repos/doctrine/dbal/issues/2821","id":325322812,"user":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars2.githubusercontent.com/u/154256?v=4","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"created_at":"2017-08-28T10:53:58Z","updated_at":"2017-08-28T10:53:58Z","body":"@kimhemsoe merged and backported, thanks!\r\n\r\n`master`: doctrine/dbal@ce7560f2d65a2fe0d3521921f208c60fed209090\r\n`2.6`: doctrine/dbal@367b731d0051d4e56bde26b092ae38568a9f6dd0"}}
{"actor":{"display_login":"Ocramius"}}