Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Incomplete
-
Affects Version/s: 4.1.5
-
Fix Version/s: Unscheduled
-
Component/s: CiviContribute, CiviMember, Drupal Integration Modules
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
When a contact renews their membership using a membership renewal contribution page, their updated membership status doesn't trigger a roles sync provided by the civicrm_member_roles module (in Drupal 6). The civicrm_member_roles module is configured to 'Synchronize when membership is updated'.
When the contact renews their membership the membership status is successfully updated in CiviCRM, but the users role is not updated in Drupal.
The problem is that the hook_civicrm_post (civicrm_member_roles_civicrm_post) function is not called when the contact renews their membership through the contribution page. So the Drupal module never syncs the new membership status with the Drupal roles.
A manual sync of the membership status to Drupal roles does update the users role within Drupal.
I'd be happy to work on a patch for this bug if someone could point me in the right direction.
Em.