Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-2624

Household Member of Relationships imported as Inactive

    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 ).

        Attachments

        1. hh_individuals-demo.csv
          0.5 kB
          Lance A. Brown
        2. households-demo.csv
          0.4 kB
          Lance A. Brown

          Activity

            People

            • Assignee:
              junia Junia Biswas
              Reporter:
              labrown Lance A. Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: