{"action":"created","issue":{"url":"https://api.github.com/repos/orocrm/crm/issues/272","repository_url":"https://api.github.com/repos/orocrm/crm","labels_url":"https://api.github.com/repos/orocrm/crm/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/orocrm/crm/issues/272/comments","events_url":"https://api.github.com/repos/orocrm/crm/issues/272/events","html_url":"https://github.com/orocrm/crm/issues/272","id":229847980,"number":272,"title":"Report grouping be enum produce \"Invalid  Query\"","user":{"login":"sadortun","id":794449,"avatar_url":"https://avatars0.githubusercontent.com/u/794449?v=3","gravatar_id":"","url":"https://api.github.com/users/sadortun","html_url":"https://github.com/sadortun","followers_url":"https://api.github.com/users/sadortun/followers","following_url":"https://api.github.com/users/sadortun/following{/other_user}","gists_url":"https://api.github.com/users/sadortun/gists{/gist_id}","starred_url":"https://api.github.com/users/sadortun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadortun/subscriptions","organizations_url":"https://api.github.com/users/sadortun/orgs","repos_url":"https://api.github.com/users/sadortun/repos","events_url":"https://api.github.com/users/sadortun/events{/privacy}","received_events_url":"https://api.github.com/users/sadortun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-19T01:39:11Z","updated_at":"2017-05-23T12:29:03Z","closed_at":null,"body":"Hi Oro Team,\r\n\r\nTested on demo.orocrm.com\r\n\r\nWhen trying to create a report that groups opportunities by Contact source produce \"Invalid query\" error\r\n\r\n\r\n![image](https://cloud.githubusercontent.com/assets/794449/26229602/0c72399e-3c11-11e7-948e-8336197995ab.png)\r\n\r\nIn dev, the following error is displayed instead : \r\n> [Semantical Error] line 0, col 100 near 'namePrefix as': Error: Class Oro\\Bundle\\ContactBundle\\Entity\\Source has no field or association named namePrefix\r\n\r\n\r\n# UPDATE\r\n\r\nIn my previous example, \r\n> Opportunity / Contact / Source ` FIELD`  was selectioned.\r\n\r\nInstead if i select In my previous example, \r\n> Opportunity / Contact / Source `Related Entity` / Name  \r\n\r\nReport works as expected.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/794449/26229780/1defdf0e-3c12-11e7-92da-bd57bc349d54.png)\r\n\r\nI am not sure if this is an expected behaviour, or a bug, but i think users would benefit of some hints about the error ! \r\n\r\nThanks,\r\nSamuel\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/orocrm/crm/issues/comments/303382284","html_url":"https://github.com/orocrm/crm/issues/272#issuecomment-303382284","issue_url":"https://api.github.com/repos/orocrm/crm/issues/272","id":303382284,"user":{"login":"mkudelya","id":3332593,"avatar_url":"https://avatars1.githubusercontent.com/u/3332593?v=3","gravatar_id":"","url":"https://api.github.com/users/mkudelya","html_url":"https://github.com/mkudelya","followers_url":"https://api.github.com/users/mkudelya/followers","following_url":"https://api.github.com/users/mkudelya/following{/other_user}","gists_url":"https://api.github.com/users/mkudelya/gists{/gist_id}","starred_url":"https://api.github.com/users/mkudelya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkudelya/subscriptions","organizations_url":"https://api.github.com/users/mkudelya/orgs","repos_url":"https://api.github.com/users/mkudelya/repos","events_url":"https://api.github.com/users/mkudelya/events{/privacy}","received_events_url":"https://api.github.com/users/mkudelya/received_events","type":"User","site_admin":false},"created_at":"2017-05-23T12:29:03Z","updated_at":"2017-05-23T12:29:03Z","body":"Hi @sadortun \r\n\r\nThank you for reporting the issue!"}}
{"actor":{"display_login":"mkudelya"}}