CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • SHared Household address errors when updating individuals address
Pages: [1]

Author Topic: SHared Household address errors when updating individuals address  (Read 3415 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
SHared Household address errors when updating individuals address
May 26, 2008, 03:40:55 am
Hi - an oversight has caused some of our records to be Updated with old addresses. The behaviour the strikes me as odd is in regard to Shared Household addresses.

Person A and B share an address and are configured as "Shared Household address" - when an update happened to only one or both of these people, their address is changed (fair enough) but the change is shown in their record within the 'Shared Household Address" box, even though, when I click on to the Household record and check, the address there is as it was.

Is this expected? It also causes me to ponder what happens if we display, through a Profile, the 'primary' address of someone who has a 'Shared Household Address" - does it change their Address (and remove them from the Household) or what?

Ok - just checked and confirm above behaviour there too. Ie,a user logs in and changes 'their' address. On individual record  it shows that change in the Shared Household Address but of course the Household Address still shows it as it was (and if I open the contacts record and click Save, it rewrites the correct - or maybe now out of date - address back as the Shared Household Address).

This makes me wonder how 'stable' our households are going to be when we encourage our contacts to update their own records. Does it mean that all profiles that show Address fields that can be edited need to also display a note regarding 'if you are in a shared household then please do not change your individual address - if the household has moved - but instead change the Household Address (which we will also have to display) - but if you have moved out of the household then you need to update your individual details and remove yourself from the Household you are recorded as being in"!

I am sure this is an issue others have faced and worked around. Any hints? Other than don't let people change their address details but have them send a notification of address change. And if that latter any recommendations on workflows?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: SHared Household address errors when updating individuals address
May 26, 2008, 05:39:55 pm

The shared household address is a limited hack (IMO) currently. Note that at the db level, we maintain multiple copies of the address. The current behavior is this:

1. In the contact edit form, if you edit the shared household address for a contact, it changes the corresponding household address

2. If you edit the household address that is shared (via the Edit form), it finds and updates all the individual's address

3. Any edit that happens via a profile (or other means) is ignored

If you find bugs with rules 1 and 2, please reproduce on demo and file an issue

I do agree that not doing it for 3 is a big issue. Please file an issue and we'll fix in 2.2

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: SHared Household address errors when updating individuals address
May 26, 2008, 06:05:41 pm
Thanks Lobo - just to be clear
Quote
1. In the contact edit form, if you edit the shared household address for a contact, it changes the corresponding household address
If you are saying in the contact edit form of an Individual you can edit the Household address and have it update the Household and those who are also at the household, then this is not how I see it working. I don't believe I have the option, in the Individual record, to amend the SHared Houshold record - would be great if it did, but I don't observe that.
Quote
3. Any edit that happens via a profile (or other means) is ignored
Again I don't see that it does 'ignore' it. It accepts those changes and shows them in the individuals record but implies they are now in the Shared Household but showing the address that has been modified, which is not now in synch with the correct/old Household address.

EG - my household address is wilton road, i change it via profile/view my details to wilpon. wilpon now shows in the box that displays the 'shared household record' in my Individual contact record - but does not change the Household record
I can understand if it cannot change the Household record but I do not think it should be able to imply that it has and have to two records out of synch.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: SHared Household address errors when updating individuals address
May 26, 2008, 06:54:39 pm

oops, my mistake. i should have elaborated and checked things out a wee bit more before replying

1. yes, the individual can only select an existing household address or create a new household and the household address

3. By ignore, i actually meant, it ignores the "shared" aspect of the address and does not update the other records that are part of the sharing plan

I think for 3, the two options are:

a. update all shared addresses in the db

or

b. update individual's own address and detach it from the "shared" concept

I suspect the first one (a) is the more preferred / saner option.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: SHared Household address errors when updating individuals address
May 26, 2008, 07:39:56 pm
If 3a was to be the default, then i think the logic would follow that if i change the address in the individuals record (which I cannot currently do) then it should behave the same as 3a, ie change the Household address.

What would be really helpful would be that for any individuals who are using a Shared Household, that when their address displays (on profiles or in the Edit Form etc) then it has a 'uses shared household address' check box ticked, and in someway gave the person the option of either
- leaving the box checked, making address changes and having those changes affect the Household record (and others who use that address)
- unchecking the box so that their address changes indicate that the individual, not the household, has relocated.
(And yes some clever little flag that bounces up to say -hey guys there is now a 'shared household with only one person at the address'.

Don't ask for much do I?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: SHared Household address errors when updating individuals address
May 27, 2008, 01:34:30 am

i suspect we'll address this in a future 2.x release. so having a wish list does help us in figuring out what are some of things we should consider when implementing it etc

wanna file an issue for this so we can put it on the 2.x list of things

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: SHared Household address errors when updating individuals address
May 27, 2008, 01:59:50 am
Yup - done - thanks - http://issues.civicrm.org/jira/browse/CRM-3156
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • SHared Household address errors when updating individuals address

This forum was archived on 2017-11-26.