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 CiviEvent (Moderator: Yashodha Chaku) »
  • duplicates on export of participants
Pages: [1]

Author Topic: duplicates on export of participants  (Read 2381 times)

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
duplicates on export of participants
November 19, 2009, 10:50:48 pm
In civi 2.2.7 I'm getting duplicates when exporting participants. they don't dup when i list them on the page.  anybody seen this?
thx,
Shawn

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: duplicates on export of participants
November 23, 2009, 12:24:40 am
Can you try to replicate this on http://drupal.demo.civicrm.org

Kurund
Found this reply helpful? Support CiviCRM

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: duplicates on export of participants
November 23, 2009, 01:55:25 pm
Hi Jamli - I don't know what is triggering the duplication.  There is a single contribution and a single participant in the database.  short of giving you a copy of the database (which I'm willing to do if it will help) I don't know how to replicate.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: duplicates on export of participants
November 23, 2009, 03:02:57 pm
Have you verified that none of these are a result of the Contact Record having multiple 'primary address' fields? that has thrown this problem in other situations
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: duplicates on export of participants
November 23, 2009, 07:03:08 pm
I don't think so.  I checked the database address table and there is nothing under "supplemental."  Is_billing and is_primary is set to 1. Also, there is one contact record, address record and participant record. I only see one contribution record and activity entry, but i noticed two entries in the change log tab but i don't think that is related.  I can't figure out what is causing it but something is definitely different about the logic in export and listing participants.  btw - i selected Primary for export.

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: duplicates on export of participants
November 23, 2009, 07:04:36 pm
Oh - i also have a problem of dups when creating views of participants....

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: duplicates on export of participants
November 23, 2009, 07:29:51 pm
the duplicate address issue can just be related to having two primary emails, rather than extra locations.

if you export the Participants with their default fields, do all fields have same info for both of the contacts participant records
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: duplicates on export of participants
November 23, 2009, 07:46:35 pm
yes, exactly the same.

sykong

  • Guest
Re: duplicates on export of participants
November 27, 2009, 02:06:44 am
I have this problem too. I realised that the number of times the participant is duplicated is equal to the number of activities for the event.

The issue is everytime you edit the participant, an activity is saved. I'm not sure if this is the intended behaviour...

sykong

  • Guest
Re: duplicates on export of participants
November 27, 2009, 02:37:29 am
Oops... looks like I posted to fast...

The duplicates still appear after I deleted the extra activity entries from the sql table

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: duplicates on export of participants
December 01, 2009, 08:33:22 pm
Does anyone have a suggestion for debugging?  This is actually a big issue for us.  Thanks, S.

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: duplicates on export of participants
December 02, 2009, 07:32:11 am

i would do the following:

1. Enable query logging in mysql. Check the massive query generated for the export

2. Use that query in mysql shell to track why u r getting the duplicates. I suspect it is some data issue (maybe activities?)

3. if doing the above is beyond your ability, consider hiring someone from http://civicrm.org/professional/ to investigate (and potentially fix) this 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

sykong

  • Guest
Re: duplicates on export of participants
December 12, 2009, 07:18:08 am
sonicthoughts: Are you exporting using primary fields or selected fields? I just realised that in my situation, the duplicates appear with only if the fields are selected.

reperry

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 2
Re: duplicates on export of participants
March 25, 2010, 12:37:54 pm
This has been reported as a bug here: http://issues.civicrm.org/jira/browse/CRM-5271

I'm pretty sure the duplicates are related to whether you include the Participant Note field in the fields for export (which only happens when you select the fields and isn't one of the primary fields).  The duplicates are the participants that have some value entered in the Participant Note field. 

I was also able to duplicate the problem at drupal.demo.civicrm.org. 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • duplicates on export of participants

This forum was archived on 2017-11-26.