{"action":"created","issue":{"url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/2628","repository_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus","labels_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/2628/labels{/name}","comments_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/2628/comments","events_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/2628/events","html_url":"https://github.com/SalesforceFoundation/Cumulus/issues/2628","id":240715834,"number":2628,"title":"Updating Contact address fields ignores Address Override if no Address record","user":{"login":"johnfine","id":5971774,"avatar_url":"https://avatars1.githubusercontent.com/u/5971774?v=3","gravatar_id":"","url":"https://api.github.com/users/johnfine","html_url":"https://github.com/johnfine","followers_url":"https://api.github.com/users/johnfine/followers","following_url":"https://api.github.com/users/johnfine/following{/other_user}","gists_url":"https://api.github.com/users/johnfine/gists{/gist_id}","starred_url":"https://api.github.com/users/johnfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnfine/subscriptions","organizations_url":"https://api.github.com/users/johnfine/orgs","repos_url":"https://api.github.com/users/johnfine/repos","events_url":"https://api.github.com/users/johnfine/events{/privacy}","received_events_url":"https://api.github.com/users/johnfine/received_events","type":"User","site_admin":false},"labels":[{"id":268773080,"url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/labels/accepted","name":"accepted","color":"207de5","default":false},{"id":58084866,"url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-05T17:04:09Z","updated_at":"2017-07-06T19:46:13Z","closed_at":null,"body":"1. Turn NPSP HH Address Mgmt off (use case; your org doesn't want any address syncing at all).\r\n2. For a 2-Contact HH Acct, fill in the Mailing fields for one Contact and set AddressOverride=TRUE and PrimaryAddressType = WORK\r\n3. For a second Contact in the same HH, leave the mailing fields blank and AddressOverride = FALSE (use case; the first Contact is a parent that wants their work address primary; the second is a kid in the HH, and your org doesn't do mailings to kids)\r\n4. Turn on NPSP HH Address Mgmt (some time has gone by and your org decides they want address syncing after all)\r\n5. Fill in the Mailing fields on the kid's Contact record (now your org decides they want to mail kids)\r\n\r\nIssue: The kid's address is sync'd to the parent's Contact record, even though the latter record has AddressOverride = TRUE.  The latter's mailing fields are overwritten, AddressOverride is unchecked, and PrimaryTypeType is set to the kid's address.\r\n\r\nSyncing should never occur to a Contact that has AddressOverride=TRUE.\r\n\r\nNote that this behavior only occurs if there is no Address record associated with the HH Acct.  If Address Mgmt is on when step 2 is performed, then a non-Default Address record is created and this issue doesn't occur.  Whether it is an issue or a feature that a non-default Address record is created when AddressOverride=TRUE is a separate question."},"comment":{"url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/comments/313499714","html_url":"https://github.com/SalesforceFoundation/Cumulus/issues/2628#issuecomment-313499714","issue_url":"https://api.github.com/repos/SalesforceFoundation/Cumulus/issues/2628","id":313499714,"user":{"login":"johnfine","id":5971774,"avatar_url":"https://avatars1.githubusercontent.com/u/5971774?v=3","gravatar_id":"","url":"https://api.github.com/users/johnfine","html_url":"https://github.com/johnfine","followers_url":"https://api.github.com/users/johnfine/followers","following_url":"https://api.github.com/users/johnfine/following{/other_user}","gists_url":"https://api.github.com/users/johnfine/gists{/gist_id}","starred_url":"https://api.github.com/users/johnfine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnfine/subscriptions","organizations_url":"https://api.github.com/users/johnfine/orgs","repos_url":"https://api.github.com/users/johnfine/repos","events_url":"https://api.github.com/users/johnfine/events{/privacy}","received_events_url":"https://api.github.com/users/johnfine/received_events","type":"User","site_admin":false},"created_at":"2017-07-06T19:46:12Z","updated_at":"2017-07-06T19:46:12Z","body":"Ah, that is super useful for me to know, thank you Judi.\n\nOn Wed, Jul 5, 2017 at 1:53 PM, Judi Sohn <notifications@github.com> wrote:\n\n> @johnfine <https://github.com/johnfine> Thanks. I did some testing and\n> this happens if a Contact does not have a 'Current Address' and another\n> Contact without Address Override is updated. You don't necessarily have to\n> disable Address Management. Just deleting the Current Address (while\n> leaving Override checked) and updating another Contact shows the issue.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/SalesforceFoundation/Cumulus/issues/2628#issuecomment-313223563>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AFsfPsl7KWjwD7CqpZg0nsqZJvfx-tDmks5sK_e1gaJpZM4OOnL7>\n> .\n>\n"}}
{"actor":{"display_login":"johnfine"}}