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

CRM does not call Drupal civicrm_post hook when adding Individuals to Groups via API

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      Using CRM 1.3 with CivicSpace 0.8.3RC3 –

      Using the CRM "Add members to groups page" (eg. /civicrm/group/search?reset=1&force=1&context=smog&gid=3), the individual is added successfully to the group, but the drupal hook_civicrm_post is never called by the framework.

      working in the debugger, it appears the problem is on the CiviCRM side, since the actual call to add the group (CRM_Contact_BAO_GroupContact::addContactsToGroup) occurs in CRM_Contact_Form_Task_AddToGroup::postProcess; somewhere down here the hooks need to get called, and they are not.

      This will need to get fixed before Organic Group integration will work.

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              torenware Rob Thorne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: