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 Profiles (Moderator: Dave Greenberg) »
  • New organization created through a profile becomes an Individual!
Pages: [1]

Author Topic: New organization created through a profile becomes an Individual!  (Read 1062 times)

Alan.Guggenheim

  • Guest
New organization created through a profile becomes an Individual!
May 05, 2010, 04:28:08 pm
We are entering new contacts using a profile. It is supposed to create "Organizations". In this case, Press contacts and we add them to a group. We verified that they were properly entered and listed as Organization in a search of the group.
Then, after entering a few more, suddenly some (but not all!) of the contacts show as "Individuals" no more as "Organization".

1- Any idea why and what the problem might be or where we should look?
2- Any easy fix for the wrong contacts? I did not see any standard way to change a contact from Individual to Organization. Any Export/Import? If there is a DB Table to edit, I can live with that, but which table or tables? What columns? Any risk?

Thanks

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: New organization created through a profile becomes an Individual!
May 06, 2010, 01:26:13 am
I have no idea what caused the error, but I can tell you which table you can update:
civicrm_contact is the one where the type of contact is kept, and you should update the field contact_type, so something like
Code: [Select]
UPDATE civicrm_contact SET contact_type = 'Organization' WHERE .....assuming you can identify the contacts that went wrong.
As far as I know I can see no problems updating the field in this way....

Good luck!
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: New organization created through a profile becomes an Individual!
May 06, 2010, 01:47:09 am
It seems to be weird.

can u try to replicate same on our public demo site : http://drupal.demo.civicrm.org/

thanks

kiran
You Are Designed To Choose... Defined By Choice.

Alan.Guggenheim

  • Guest
Re: New organization created through a profile becomes an Individual!
May 06, 2010, 05:38:39 am
I agree with you. It sure does. I can try, but our setup includes Drupal, OG, Complex ACL for many groups and smart groups, lots of custom data,... Can I re-create the same environment on the demo site? How do I find out what is relevant or not? Could it be linked to the error in "Add contact to a group" http://forum.civicrm.org/index.php/topic,9791.msg58030.html#msg58030?


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • New organization created through a profile becomes an Individual!

This forum was archived on 2017-11-26.