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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • (default organization) contact issue and questions
Pages: [1]

Author Topic: (default organization) contact issue and questions  (Read 3541 times)

aglozier

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 9
    • Phoenix Academy
  • CiviCRM version: 4.7.9
  • CMS version: WordPress 4.6.1
  • MySQL version: 5.7.14
  • PHP version: 5.6.21
(default organization) contact issue and questions
February 13, 2013, 11:01:36 am
I just noticed that there is a duplicate contact for our organization in the database.  It is called "Phoenix Academy (default organization)".  I assume this is a new feature of 4.3 and that the contact was added during the database update using the "Organization Address and Contact Info".

This system detects that this is a duplicate contact and tries to merge it into the original contact, but the "default organization" contact isn't deleted.  Also I can't manually delete it and I get a message saying "This contact is a special one for the contact information associated with the CiviCRM installation for this domain. No one is allowed to delete it because the information is used for special system purposes."  I flipped the merge order and was able to merge the original into the "default organization" contact.

My question and concern is: why did the database update add a new contact instead of making the original one the default?  One thing that might have a bearing on this is that I didn't have a email address entered in the "Organization Address and Contact Info".  Also is there a way to manually set the "default organization"?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: (default organization) contact issue and questions
February 13, 2013, 05:16:49 pm
Thanks for report on this. Starting w/ 4.3, a default domain contact record is required (and hence the upgrade creates one using the info previously entered in the 'Organization Address and Contact Info' screen.

I've investigated a bit - but awaiting feedback from the team as to whether the upgrade was "supposed" to identify the existing 'matching' organization contact. I suspect not - so the merge you did was the appropriate step. That said, I think an upgrade status message is needed to inform folks that a new organization contact was created. I'll report back here.

You can not manually set the "default organization" currently (not in the UI at least), so again the merge you did was the way to go in terms of 'moving' any key info and relationships TO the default organization.
Protect your investment in CiviCRM by  becoming a Member!

CallFirst

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.2
Re: (default organization) contact issue and questions
March 05, 2013, 03:58:44 am
Quote from: Dave Greenberg on February 13, 2013, 05:16:49 pm
Add additional organizations to the "default organization" currently (not in the UI at least), so again the merge you did was the way to go in terms of 'moving' any key info and relationships TO the default organization.

The ability to differentiate organizations in memberships is a sweet feature.

Where is the code "select" statement running that would pull the organization choices?

thanks in advance.

aglozier

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 9
    • Phoenix Academy
  • CiviCRM version: 4.7.9
  • CMS version: WordPress 4.6.1
  • MySQL version: 5.7.14
  • PHP version: 5.6.21
Re: (default organization) contact issue and questions
March 05, 2013, 04:59:41 am
Once I used the same email address for my organization contact and for the "Organization Contact Information", the upgrade correctly made my organization the default and didn't create a duplicate

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: (default organization) contact issue and questions
March 05, 2013, 03:27:50 pm
Quote from: CallFirst on March 05, 2013, 03:58:44 am
Quote from: Dave Greenberg on February 13, 2013, 05:16:49 pm
Add additional organizations to the "default organization" currently (not in the UI at least), so again the merge you did was the way to go in terms of 'moving' any key info and relationships TO the default organization.

The ability to differentiate organizations in memberships is a sweet feature.

Where is the code "select" statement running that would pull the organization choices?

thanks in advance.

Any Organization contact in your DB is eligible to be the 'owner' of a Membership Type (label is Membership Organization in the Add Membership Type form and it's an autocomplete field selecting all org contacts).

Protect your investment in CiviCRM by  becoming a Member!

rares

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: WP 3.5
  • MySQL version: 5.0
  • PHP version: 5.2
Re: (default organization) contact issue and questions
November 11, 2013, 08:17:38 am
Just to add my two cents here. We are running 4.4.1 we discovered that when merging contacts, when one is the default organization, you can merge the other contact into the default organization, but not the other way around.
This makes sense, but in our case we didn't even know there was such a thing as a default organization, and CiviCRM definitely gave no feedback saying that the merge failed. On the contrary, it said that the merge succeeded:

"Contact id 18648 has been updated and contact id 20446 has been deleted." (but neither contact was deleted)

We were able to complete the merge by flipping between the contacts on the merge screen.

Dave, is this worth reporting as a bug?

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: (default organization) contact issue and questions
November 11, 2013, 08:30:46 am

hey rares:

yes, can you please file an issue for this. We should definitely prevent errors which cause issues down the line :)

thanx

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

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: (default organization) contact issue and questions
November 13, 2013, 08:07:10 am
Thanks, rares, for reporting this. One of my clients is experiencing the same issue after an upgrade. Could you post back here a link to the issue?

Cheers,
Joe
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Detlev

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 2
    • Software für Engagierte e.V.
  • CiviCRM version: 4.5
  • CMS version: Drupal
Re: (default organization) contact issue and questions
November 13, 2013, 10:35:38 am
Something similar happened to me and is described here:
http://forum.civicrm.org/index.php/topic,30595.msg131089.html#msg131089

However, in our case the default organisation *was* put into the trashbin during merging, however was not able to be deleted completely nor to be undeleted.


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: (default organization) contact issue and questions
November 15, 2013, 05:26:07 pm
I've posted an issue for this at http://issues.civicrm.org/jira/browse/CRM-13780
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • (default organization) contact issue and questions

This forum was archived on 2017-11-26.