CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Update Batch Profile
Pages: [1]

Author Topic: Update Batch Profile  (Read 1166 times)

arts4la

  • Guest
Update Batch Profile
August 22, 2008, 08:38:56 am
I'm trying to update records via Batch Profile.  After I have updated the records in the batch and click save I get the following error:

Database Error Code: Duplicate entry '1-1760' for key 2, 1062

Eek!  The batch appears to be squeaky clean with no known duplicates in sight. It occurs whether I am updating 2, 4 or 50 records at a time.
My duplicate settings are: Email, FirstName, LastName

Any help you could provide on this is greatly appreciated. 

Below is the full error code:
 
Code: [Select]
=> -5
    [message] => DB Error: already exists
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_value_1_supplemental  SET `interests` = '', domain_id = 1, entity_id = 1760  [nativecode=1062 ** Duplicate entry '1-1760' for key 2]
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_value_1_supplemental  SET `interests` = '', domain_id = 1, entity_id = 1760  [nativecode=1062 ** Duplicate entry '1-1760' 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_value_1_supplemental  SET `interests` = '', domain_id = 1, entity_id = 1760  [nativecode=1062 ** Duplicate entry '1-1760' for key 2]"]
)


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Update Batch Profile
August 22, 2008, 12:06:23 pm

can you replicate this on

http://sandbox.civicrm.org/

If so, please file an issue

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

arts4la

  • Guest
Re: Update Batch Profile
August 30, 2008, 09:41:28 am
I was able to successfully upload the contacts into the sandbox site. The file I was trying to upload had both organizational and individual records.  I will segment my file and try to upload again. Thanks for checking into this.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Update Batch Profile

This forum was archived on 2017-11-26.