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 »
  • 3.2 Release Testing »
  • Can not edit contact types when setting up relationship types
Pages: [1]

Author Topic: Can not edit contact types when setting up relationship types  (Read 1716 times)

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
Can not edit contact types when setting up relationship types
July 08, 2010, 01:57:31 am
When I try to add or edit relationship types, I can not select any contact types between the relationships?
Later comment: I have re-installed 3.2beta3 because I had an idea where this happened, and have now retested:
* using Administer/Option types/Contact types I can change the label of Household, Individual and Organization. I have changed the label for Individual to Persoon (Dutch).
* once this is done, I can not use any contact type in the relationship types, nor link Custom Data to individual
« Last Edit: July 08, 2010, 04:18:40 am by Erik Hommel »
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Can not edit contact types when setting up relationship types
July 08, 2010, 04:50:43 am
Seems to be working for me. Can you replicate this on http://sandbox.civicrm.org

Thanks
Kurund
Found this reply helpful? Support CiviCRM

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: Can not edit contact types when setting up relationship types
July 08, 2010, 07:47:48 am
Kurund, I have just changed the contact type for Individual to Person name on the Sandbox. If I now go to relationship types I can not link to Individual or Persoon. Nor can I do this for Custom Data. Have a look on the Sandbox and you'll see the error? I'll be on IRC if you need more info?
Thanks!
erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Can not edit contact types when setting up relationship types
July 09, 2010, 10:56:26 am
Erik - thx for catching this. What's actually happening is that when you save a "built-in" contact type - that row in the contact type table is being DISABLED (is_active = 0). Hence you can't use it anywhere. I've filed a bug report for this - fix should be coming shortly.

http://issues.civicrm.org/jira/browse/CRM-6471

In the meantime, if you want to correct the situation on your install - you can run this SQL command:

Code: [Select]
UPDATE `civicrm_contact_type`
SET is_active = 1
WHERE name = 'Individual';
Protect your investment in CiviCRM by  becoming a Member!

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: Can not edit contact types when setting up relationship types
July 09, 2010, 02:57:25 pm
Hi Dave,
I'll update the table, thanks!
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Can not edit contact types when setting up relationship types
July 09, 2010, 03:49:34 pm
Fix is committed now. The updated code will "correct" any problems caused by this bug - if you edit and save a built-in contact type it will force the status to Active.
Protect your investment in CiviCRM by  becoming a Member!

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: Can not edit contact types when setting up relationship types
July 10, 2010, 01:41:15 am
So I can get the new code from svn?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Can not edit contact types when setting up relationship types
July 12, 2010, 07:22:09 am
Erik - You can get the diffs from Fisheye tab on the issue - 2 commits against 2 files:
http://issues.civicrm.org/jira/browse/CRM-6471?page=com.atlassian.jira.ext.fisheye%3Afisheye-issuepanel
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 »
  • 3.2 Release Testing »
  • Can not edit contact types when setting up relationship types

This forum was archived on 2017-11-26.