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

Contact update gives backtrace when we update cms user contact with any other cms user email from contact form.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3.alpha
    • Component/s: None
    • Labels:
      None

      Description

      Steps to replicate :
      1. Create two contacts , both should have associated cms user records.
      2. Update email of one contact with email of another contact from contact form.

      As we do have two unique indexes in civicrm_uf_match table :
      1. contact_id and domain_id
      2. uf_name and domain_id

      It looks like during contact update we are checking only first unique index in CRM_Core_BAO_UFMatch::updateUFName() ;

      Work around would be : We should check for both unique indexes.

        Attachments

          Activity

            People

            • Assignee:
              rahulbile Rahul Bile
              Reporter:
              kiran.jagtap Kiran Jagtap
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: