CRM-701 When Drupal admin changes a user email - it should also update the primary email for the associated CiviCRM contact

    Details

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

      Description

      Updating a drupal user email value via 'administer->users->edit->some user' OR via 'my account' should also update the primary email address for the linked civicrm contact record.

      [Primary email address means is_primary email of is_primary location]

      NOTE: This bug was reported by a user (Rafi). I also tested the case where a user updates their own email address via my account and the same problem exists.

        Attachments

          Activity

          [CRM-701] When Drupal admin changes a user email - it should also update the primary email for the associated CiviCRM contact
          David Greenberg added a comment -

          Tested w/ rev 4463. It works generally - but it doesn't seem to work if for the case where the contact's email address is NULL.

          To recreate:
          Remove email address for a contact who is a user
          Edit user - update email and save
          — the contact email address is not populated

          Also - pls check the behavior when trying to 'Send Email to a Contact' IF your logged in user's contact has no email address. On my machine the app went into an endless loop until I stopped browser. Then on the NEXT screen i went to I got the status msg I should have gotten immediately: " Your user record does not have a valid email address"

          Manish Zope added a comment -

          fixed with revision 4534 (1.4)

            People

            • Assignee:
              Manish Zope
              Reporter:
              David Greenberg

              Dates

              • Created:
                Updated:
                Resolved: