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

Relationships created by Use Household Address, Add to Household and Add to Organization are DISABLED when created

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When CRM_Contact_BAO_Relationship::add() is invoked from Contact_Form_Individual::handleSharedRelation() and from AddtoHousehold and AddtoOrganization postProcess() - we now need to explicitly include is_active = 1 in the params. Currently, we don't do this and the relationships are created with is_active = 0.

      This was caused by a changed in the add() function. I've grep'd for all instances of that method and only found the three noted above.

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: