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

CiviCRM crashes adding registered drupal user to CiviEvent.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      Here are the failures for two different users.

      Drupal 5.1
      PHP 5.2.1
      MySQL 5.0.37
      Mac OS X

      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_location (entity_table , entity_id , location_type_id , is_primary ) VALUES ('civicrm_contact' , 115 , 4 , 0 ) [nativecode=1062 ** Duplicate entry 'civicrm_contact-115-4' for key 2]
      [type] => DB_Error
      [user_info] => INSERT INTO civicrm_location (entity_table , entity_id , location_type_id , is_primary ) VALUES ('civicrm_contact' , 115 , 4 , 0 ) [nativecode=1062 ** Duplicate entry 'civicrm_contact-115-4' for key 2]
      [to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_location (entity_table , entity_id , location_type_id , is_primary ) VALUES ('civicrm_contact' , 115 , 4 , 0 ) [nativecode=1062 ** Duplicate entry 'civicrm_contact-115-4' for key 2]"]
      )

      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_location (entity_table , entity_id , location_type_id , is_primary ) VALUES ('civicrm_contact' , 126 , 4 , 0 ) [nativecode=1062 ** Duplicate entry 'civicrm_contact-126-4' for key 2]
      [type] => DB_Error
      [user_info] => INSERT INTO civicrm_location (entity_table , entity_id , location_type_id , is_primary ) VALUES ('civicrm_contact' , 126 , 4 , 0 ) [nativecode=1062 ** Duplicate entry 'civicrm_contact-126-4' for key 2]
      [to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_location (entity_table , entity_id , location_type_id , is_primary ) VALUES ('civicrm_contact' , 126 , 4 , 0 ) [nativecode=1062 ** Duplicate entry 'civicrm_contact-126-4' for key 2]"]
      )

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              majortom Carmi Weinzweig
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: