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

crm_update_contact() allows duplicated primary email to be saved

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Labels:
      None

      Description

      A contact's primary email is meant to be unique. However, when a contact's email is changed using crm_update_contact(), it does not seem to check whether the new email address already exists on the database.

      I was able to create a number of contacts with identical primary email addresses.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              krabi Peter Cruickshank
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: