Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
Relationships formed during the import process are marked as "inactive". I would like them to be imported as "active" or enabled.
Reproduce by:
1. Import households-demo.csv as a household.
2. Import hh_individuals-demo.csv as individuals, using the "Household member of" linking to indicate the household relationship.
If you then inspect the relationships between the household and individuals they are marked "Inactive"
The 'Household Relationship Bug' in the 2.0 sandbox has the imported data demonstrating the problem.
http://sandbox.civicrm.org/civicrm/group/search?reset=1&force=1&context=smog&gid=17
NOTE: This is related to the bug fixed in http://issues.civicrm.org/jira/browse/CRM-2579 (is_active = 1 must be included in params for CRM_Contact_BAO_Relationship::add() ). Please search the code to see if there are other places that we might have missed. (I guess my "grep" didn't catch them all ).