{"action":"created","issue":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/11963","repository_url":"https://api.github.com/repos/civicrm/civicrm-core","labels_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/11963/labels{/name}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/11963/comments","events_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/11963/events","html_url":"https://github.com/civicrm/civicrm-core/pull/11963","id":312918865,"number":11963,"title":"(dev/mail/8) Using ACL to restrict mailing recipients leads to fatal error","user":{"login":"monishdeb","id":3735621,"avatar_url":"https://avatars3.githubusercontent.com/u/3735621?v=4","gravatar_id":"","url":"https://api.github.com/users/monishdeb","html_url":"https://github.com/monishdeb","followers_url":"https://api.github.com/users/monishdeb/followers","following_url":"https://api.github.com/users/monishdeb/following{/other_user}","gists_url":"https://api.github.com/users/monishdeb/gists{/gist_id}","starred_url":"https://api.github.com/users/monishdeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monishdeb/subscriptions","organizations_url":"https://api.github.com/users/monishdeb/orgs","repos_url":"https://api.github.com/users/monishdeb/repos","events_url":"https://api.github.com/users/monishdeb/events{/privacy}","received_events_url":"https://api.github.com/users/monishdeb/received_events","type":"User","site_admin":false},"labels":[{"id":896942663,"url":"https://api.github.com/repos/civicrm/civicrm-core/labels/5.1","name":"5.1","color":"ededed","default":false},{"id":30205961,"url":"https://api.github.com/repos/civicrm/civicrm-core/labels/bug-fix","name":"bug-fix","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-10T13:19:25Z","updated_at":"2018-04-16T05:32:21Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/11963","html_url":"https://github.com/civicrm/civicrm-core/pull/11963","diff_url":"https://github.com/civicrm/civicrm-core/pull/11963.diff","patch_url":"https://github.com/civicrm/civicrm-core/pull/11963.patch"},"body":"Overview\r\n----------------------------------------\r\nSteps to replicate:\r\n1. Assign an ACL permission for one or more contacts\r\n2. Compose a mailing and select a recipient group. Ensure that those contacts are included in that group\r\n3. Submit and Send Mailing immediately\r\n\r\nIssue link - https://lab.civicrm.org/dev/mail/issues/8\r\n\r\nBefore\r\n----------------------------------------\r\nResult into fatal error - https://pastebin.com/aMa2KYy0\r\n\r\nAfter\r\n----------------------------------------\r\nFixed the error.\r\n"},"comment":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/comments/381484259","html_url":"https://github.com/civicrm/civicrm-core/pull/11963#issuecomment-381484259","issue_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/11963","id":381484259,"user":{"login":"monishdeb","id":3735621,"avatar_url":"https://avatars3.githubusercontent.com/u/3735621?v=4","gravatar_id":"","url":"https://api.github.com/users/monishdeb","html_url":"https://github.com/monishdeb","followers_url":"https://api.github.com/users/monishdeb/followers","following_url":"https://api.github.com/users/monishdeb/following{/other_user}","gists_url":"https://api.github.com/users/monishdeb/gists{/gist_id}","starred_url":"https://api.github.com/users/monishdeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monishdeb/subscriptions","organizations_url":"https://api.github.com/users/monishdeb/orgs","repos_url":"https://api.github.com/users/monishdeb/repos","events_url":"https://api.github.com/users/monishdeb/events{/privacy}","received_events_url":"https://api.github.com/users/monishdeb/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T05:32:21Z","updated_at":"2018-04-16T05:32:21Z","author_association":"OWNER","body":"@seamuslee001 earlier my added UT was failing because the contacts created in it was affecting other UTs in that test-case. Now when I added the data cleanup at the end of it, this should pass now. Lets see!"}}
{"actor":{"display_login":"monishdeb"}}