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

Civimember Roles Sync module erasing user data

    Details

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

      Description

      civicrm_member_roles module is listening to the Drupal hook_login() and then attempting to perform its synschronisation. In the course of this, it saves the Drupal user object but it does so in a way where this object might be stale or missing certain data — and thus erases user data.

      The solution to this is to force a reload of the user object before attempting to save it. Please see attached patch.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              torrance123 Torrance
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: