{"action":"opened","issue":{"url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/issues/197","repository_url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce","labels_url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/issues/197/comments","events_url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/issues/197/events","html_url":"https://github.com/MinnPost/object-sync-for-salesforce/issues/197","id":358383197,"node_id":"MDU6SXNzdWUzNTgzODMxOTc=","number":197,"title":"Detect and respond to merge events","user":{"login":"jonathanstegall","id":435342,"node_id":"MDQ6VXNlcjQzNTM0Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/435342?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanstegall","html_url":"https://github.com/jonathanstegall","followers_url":"https://api.github.com/users/jonathanstegall/followers","following_url":"https://api.github.com/users/jonathanstegall/following{/other_user}","gists_url":"https://api.github.com/users/jonathanstegall/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanstegall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanstegall/subscriptions","organizations_url":"https://api.github.com/users/jonathanstegall/orgs","repos_url":"https://api.github.com/users/jonathanstegall/repos","events_url":"https://api.github.com/users/jonathanstegall/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanstegall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-09T14:34:01Z","updated_at":"2018-09-09T14:34:01Z","closed_at":null,"author_association":"MEMBER","body":"### Expected behavior\r\n\r\nFor example, a WordPress user is mapped to a Salesforce contact:\r\n\r\n1. The Salesforce contact is merged with another contact, deleting the mapped contact record and its ID, although there is a new ID\r\n2. The WordPress object map should inherit this new ID and sync accordingly.\r\n\r\n### Actual behavior\r\n\r\nOnce a record is deleted, the plugin has no way of knowing if it is because of a merge or just a deletion.\r\n\r\n### Steps to reproduce behavior\r\n\r\n1. Map some records\r\n2. Merge them in Salesforce with the not-mapped object as the master."}}
{"actor":{"display_login":"jonathanstegall"}}