{"action":"created","issue":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12785","repository_url":"https://api.github.com/repos/civicrm/civicrm-core","labels_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12785/labels{/name}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12785/comments","events_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12785/events","html_url":"https://github.com/civicrm/civicrm-core/pull/12785","id":357496945,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNDk1NzQ5","number":12785,"title":"dev/core#382 Ensure that no db errors are generated when trying to up…","user":{"login":"seamuslee001","id":6799125,"node_id":"MDQ6VXNlcjY3OTkxMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/6799125?v=4","gravatar_id":"","url":"https://api.github.com/users/seamuslee001","html_url":"https://github.com/seamuslee001","followers_url":"https://api.github.com/users/seamuslee001/followers","following_url":"https://api.github.com/users/seamuslee001/following{/other_user}","gists_url":"https://api.github.com/users/seamuslee001/gists{/gist_id}","starred_url":"https://api.github.com/users/seamuslee001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seamuslee001/subscriptions","organizations_url":"https://api.github.com/users/seamuslee001/orgs","repos_url":"https://api.github.com/users/seamuslee001/repos","events_url":"https://api.github.com/users/seamuslee001/events{/privacy}","received_events_url":"https://api.github.com/users/seamuslee001/received_events","type":"User","site_admin":false},"labels":[{"id":858629627,"node_id":"MDU6TGFiZWw4NTg2Mjk2Mjc=","url":"https://api.github.com/repos/civicrm/civicrm-core/labels/has-test","name":"has-test","color":"f4a6ea","default":false},{"id":246037889,"node_id":"MDU6TGFiZWwyNDYwMzc4ODk=","url":"https://api.github.com/repos/civicrm/civicrm-core/labels/master","name":"master","color":"0052cc","default":false},{"id":30205961,"node_id":"MDU6TGFiZWwzMDIwNTk2MQ==","url":"https://api.github.com/repos/civicrm/civicrm-core/labels/sig:bug","name":"sig:bug","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-06T05:01:11Z","updated_at":"2018-09-07T21:45:09Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/12785","html_url":"https://github.com/civicrm/civicrm-core/pull/12785","diff_url":"https://github.com/civicrm/civicrm-core/pull/12785.diff","patch_url":"https://github.com/civicrm/civicrm-core/pull/12785.patch"},"body":"…date a civicrm group linked to an organization when the group id doesn't match the id of the relevant row in civicrm_group_organization\r\n\r\nOverview\r\n----------------------------------------\r\nWhen updating a group linked to an organization. If the record id in the civicrm_group_organization table doesn't match that of the groupID there can be a db error generated because of the unique key on the civicrm_group_organization table\r\n\r\nBefore\r\n----------------------------------------\r\nDB error generated\r\n\r\nAfter\r\n----------------------------------------\r\nNo DB error\r\n\r\nping @mattwire @eileenmcnaughton @nganivet @monishdeb This is especially an issue in Multisite configurations"},"comment":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/comments/419574082","html_url":"https://github.com/civicrm/civicrm-core/pull/12785#issuecomment-419574082","issue_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12785","id":419574082,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTU3NDA4Mg==","user":{"login":"eileenmcnaughton","id":336308,"node_id":"MDQ6VXNlcjMzNjMwOA==","avatar_url":"https://avatars2.githubusercontent.com/u/336308?v=4","gravatar_id":"","url":"https://api.github.com/users/eileenmcnaughton","html_url":"https://github.com/eileenmcnaughton","followers_url":"https://api.github.com/users/eileenmcnaughton/followers","following_url":"https://api.github.com/users/eileenmcnaughton/following{/other_user}","gists_url":"https://api.github.com/users/eileenmcnaughton/gists{/gist_id}","starred_url":"https://api.github.com/users/eileenmcnaughton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileenmcnaughton/subscriptions","organizations_url":"https://api.github.com/users/eileenmcnaughton/orgs","repos_url":"https://api.github.com/users/eileenmcnaughton/repos","events_url":"https://api.github.com/users/eileenmcnaughton/events{/privacy}","received_events_url":"https://api.github.com/users/eileenmcnaughton/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T21:45:09Z","updated_at":"2018-09-07T21:45:09Z","author_association":"CONTRIBUTOR","body":"@seamuslee001 OK - sure squash these & merge-on-pass"}}
{"actor":{"display_login":"eileenmcnaughton"}}