Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      After deleting a user in Drupal, then during creation of an account with the same email, the following error occurred:

      Sorry. A non-recoverable error has occurred.

      Database Error Code: Duplicate entry '1' for key 3, 1062

      Return to CiviCRM menu.

      Error Details:

      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => -5
      [message] => DB Error: already exists
      [mode] => 16
      [debug_info] => INSERT INTO civicrm_uf_match (uf_id , contact_id , domain_id , email ) VALUES ( 20 , 1 , 1 , 'joe.murray@fairvote.ca' ) [nativecode=1062 ** Duplicate entry '1' for key 3]
      [type] => DB_Error
      [user_info] => INSERT INTO civicrm_uf_match (uf_id , contact_id , domain_id , email ) VALUES ( 20 , 1 , 1 , 'joe.murray@fairvote.ca' ) [nativecode=1062 ** Duplicate entry '1' for key 3]
      [to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_uf_match (uf_id , contact_id , domain_id , email ) VALUES ( 20 , 1 , 1 , 'joe.murray@fairvote.ca' ) [nativecode=1062 ** Duplicate entry '1' for key 3]"]
      )

      The backTrace for it is:

      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 147
      , handle,
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 901
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/packages/DB.php, PEAR_Error, 888
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/packages/PEAR.php, DB_Error, 563
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/packages/DB/common.php, raiseError, 1849
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/packages/DB/mysql.php, raiseError, 894
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/packages/DB/mysql.php, mysqlRaiseError, 324
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/packages/DB/common.php, simpleQuery, 1162
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/packages/DB/DataObject.php, query, 2344
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/packages/DB/DataObject.php, _query, 1033
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/CRM/Core/DAO.php, insert, 257
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/CRM/Core/BAO/UFMatch.php, save, 207
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/CRM/Core/BAO/UFMatch.php, synchronizeUFMatch, 97
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/drupal/civicrm.module, synchronize, 425
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/sites/all/modules/civicrm/drupal/civicrm.module, civicrm_register_data, 356
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/modules/user/user.module, civicrm_user, 22
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/modules/user/user.module, user_module_invoke, 199
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/modules/user/user.module, user_save, 1236
      , user_register_submit,
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/includes/form.inc, call_user_func_array, 428
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/includes/form.inc, drupal_submit_form, 258
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/includes/form.inc, drupal_process_form, 80
      , drupal_get_form,
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/includes/menu.inc, call_user_func_array, 418
      /home/.marf/prideweb/pride.dreamhosters.com/dev/drupal/index.php, menu_execute_active_handler, 15

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              joemurray Joe Murray
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: