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

CiviGroup Role Sync module referencing api/v2 causing error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.10, 4.4.14
    • Fix Version/s: None
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      When using the CiviGroup Role Sync module, I was getting a consistent 'Failed opening required 'api/v2/GroupContact.php' error when I would remove a contact from a group that was being synced to a Drupal role. I found the reference to API v2 on line 243 of the civicrm_group_roles.module file. Removing the line entirely allows the module functions as expected. I searched JIRA and found an existing ticket for this error, but it seems as though only the 7.x- branches have had the fix applied for Civi 4.4, not the 6.x- branches.

      For reference that issue is here: https://issues.civicrm.org/jira/browse/CRM-16414

      This line still exists in the 6.x-4.3, 6.x-4.4, and 6.x-4.4.6.x branches on these lines:
      https://github.com/civicrm/civicrm-drupal/blob/6.x-4.4.6.x/modules/civicrm_group_roles/civicrm_group_roles.module#L243
      https://github.com/civicrm/civicrm-drupal/blob/6.x-4.4/modules/civicrm_group_roles/civicrm_group_roles.module#L243
      https://github.com/civicrm/civicrm-drupal/blob/6.x-4.3/modules/civicrm_group_roles/civicrm_group_roles.module#L243

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              EvanC Evan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: