{"action":"opened","issue":{"url":"https://api.github.com/repos/doctrine/phpcr-odm/issues/745","repository_url":"https://api.github.com/repos/doctrine/phpcr-odm","labels_url":"https://api.github.com/repos/doctrine/phpcr-odm/issues/745/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/phpcr-odm/issues/745/comments","events_url":"https://api.github.com/repos/doctrine/phpcr-odm/issues/745/events","html_url":"https://github.com/doctrine/phpcr-odm/issues/745","id":233111831,"number":745,"title":"Binding string with apostrophe using QueryBuilder->literal() crash query","user":{"login":"stopsopa","id":3743506,"avatar_url":"https://avatars0.githubusercontent.com/u/3743506?v=3","gravatar_id":"","url":"https://api.github.com/users/stopsopa","html_url":"https://github.com/stopsopa","followers_url":"https://api.github.com/users/stopsopa/followers","following_url":"https://api.github.com/users/stopsopa/following{/other_user}","gists_url":"https://api.github.com/users/stopsopa/gists{/gist_id}","starred_url":"https://api.github.com/users/stopsopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stopsopa/subscriptions","organizations_url":"https://api.github.com/users/stopsopa/orgs","repos_url":"https://api.github.com/users/stopsopa/repos","events_url":"https://api.github.com/users/stopsopa/events{/privacy}","received_events_url":"https://api.github.com/users/stopsopa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-02T08:28:16Z","updated_at":"2017-06-02T08:28:16Z","closed_at":null,"body":"Error like:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3743506/26717331/f16a16f2-4774-11e7-8db9-723e17abb1db.png)\r\n\r\nWhen query is build like:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3743506/26717395/28022952-4775-11e7-80f9-4f23f69e7967.png)\r\n\r\nFixed in my case:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3743506/26717503/96994878-4775-11e7-8263-03ab51012134.png)\r\n\r\nbut i think it should do this automatically internally.\r\nOr there should be method to bind properly data like in regular doctrine project:\r\nhttp://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/query-builder.html#binding-parameters-to-your-query\r\n\r\n\r\n"}}
{"actor":{"display_login":"stopsopa"}}