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.4 and 4.0 Releases Testing »
  • Disabling a "related contact" relationship should "un-relate" the contact
Pages: [1]

Author Topic: Disabling a "related contact" relationship should "un-relate" the contact  (Read 1713 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Disabling a "related contact" relationship should "un-relate" the contact
March 01, 2011, 03:46:15 am
3.4.alpha1, reproducible on sandbox

Steps to reproduce ...
  • Go to contact summary for an Individual
  • Create relationship "Head of Household for" "Alan Smith's home"
  • Create relationship "Household Member of" "Alan Smith's home" (setting it so the Individual contact can see and edit the Household)
  • Show Individual's Contact Dashboard - can see Household
  • Go back to Contact Summary and disable relationship "Household member of"
  • Go back to Individual's Contact Dashboard and "Alan Smith's home" is still visible

( My guess is the program logic is saying "yes there's an enabled relationship" and "yes, there's a related-contact relationship" but not realising they are different relationships. )

I'm also getting the following errors on the sandbox when trying to edit the related contact or view it's dashboard:
Quote
Fatal error: CRM_Contact_Form_RelatedContact::require_once() [function.require]: Failed opening required 'CRM/Contact/Form/Household.php' (include_path='/var/www/drupal.civicrm.org/svn/civicrm34/tools/drupal/modules/civicrm_regsite/:.:/var/www/sandbox.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/:/var/www/sandbox.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm//packages:.:/usr/share/php:/usr/share/pear') in /var/www/drupal.civicrm.org/svn/civicrm34/CRM/Contact/Form/RelatedContact.php on line 185

Ken

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: Disabling a "related contact" relationship should "un-relate" the contact
March 01, 2011, 04:50:49 am
Quote
Steps to reproduce ...
Go to contact summary for an Individual
Create relationship "Head of Household for" "Alan Smith's home"
Create relationship "Household Member of" "Alan Smith's home" (setting it so the Individual contact can see and edit the Household)
Show Individual's Contact Dashboard - can see Household
Go back to Contact Summary and disable relationship "Household member of"
Go back to Individual's Contact Dashboard and "Alan Smith's home" is still visible

Here it should display only  "Head of Household for" "Alan Smith's home"

Quote
I'm also getting the following errors on the sandbox when trying to edit the related contact or view it's dashboard:
Quote
Fatal error: CRM_Contact_Form_RelatedContact::require_once() [function.require]: Failed opening required 'CRM/Contact/Form/Household.php' (include_path='/var/www/drupal.civicrm.org/svn/civicrm34/tools/drupal/modules/civicrm_regsite/:.:/var/www/sandbox.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/:/var/www/sandbox.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm//packages:.:/usr/share/php:/usr/share/pear') in /var/www/drupal.civicrm.org/svn/civicrm34/CRM/Contact/Form/RelatedContact.php on line 185

Looks like bug, can you file an issue for this.

Kurund
Found this reply helpful? Support CiviCRM

sushant

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 8
  • CiviCRM version: v3.2.x,v3.3.x v4.0.x, v4.x,trunk
  • CMS version: Drupal 6/7 ,joomla 1.5,1.6
  • MySQL version: 5.1.51
  • PHP version: 5.3.3
Re: Disabling a "related contact" relationship should "un-relate" the contact
March 03, 2011, 04:42:36 am
Hi ken,
Related issue http://issues.civicrm.org/jira/browse/CRM-7673 has been fixed and it will be part of next release .

Thanks,
Sushant.
CiviCRM Priority Support
http://support.civigardens.com/
http://osseed.com

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Disabling a "related contact" relationship should "un-relate" the contact
March 10, 2011, 09:04:38 pm
3.4.alpha2

This fix resolves my issue. Thanks!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.4 and 4.0 Releases Testing »
  • Disabling a "related contact" relationship should "un-relate" the contact

This forum was archived on 2017-11-26.