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 Profiles (Moderator: Dave Greenberg) »
  • New Contact overwrote data of existing contact
Pages: [1]

Author Topic: New Contact overwrote data of existing contact  (Read 1105 times)

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
New Contact overwrote data of existing contact
March 01, 2010, 05:58:19 pm
Something disturbing seems to have happened which I cannot figure out, or duplicate.

I made a profile called "volunteer interest form" and every so often someone fills one out, I get notified by e-mail and I follow up.  I got another e-mail notification and called the number in the form that arrived in the e-mail message and was very surprised that when I asked for David S. I was instead talking to David C. a contact I interact with frequently and most definitely not David S. who filled out the form.  Very odd.  When I investigated I saw that David S.'s info had written over info in David C.'s record.  It was David C.'s record, his list of donations, activities, his work address etc, but the change log reveled that his account had been modified by himself.  It now had David S.'s last name, e-mail address and the custom fields entered on the volunteer interest form.

What I would expect and hope to happen is the form generates a new record unless it catches a match, when it updates it.  I have it set to Update contact on a duplicate match. 

So I went back and tested it.  It's not able to handle a new contact - it just throws this error: The requested Profile (gid=) is disabled, OR there is no Profile with that ID, OR a valid 'gid=' integer value is missing from the URL.  This error happens regardless of whether the redirect URL is filled in or not (tested it both ways).

I also cannot make it merge in other data on top of an existing record.  I have no idea how David S. pulled this off.

So I am thinking I've missed a step or two.  Can you tell me what I should be looking at here?

Thanks in advance.
Thanks to those who help create and enhance civiCRM!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: New Contact overwrote data of existing contact
March 02, 2010, 03:18:36 pm
Chris - what's the exact URL that your are accessing when you get that error? (Sounds like the profile ID - gid=<some_number> - is missing.)

With regard to overwriting data, given the setting you've referenced in the profile (Update on duplicate match) - this should only happen if the 'default individual strict matching rule' criteria are met. Out of the box, this rule is set to match on email address. Not sure if you've modified that rule?
Protect your investment in CiviCRM by  becoming a Member!

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: New Contact overwrote data of existing contact
March 02, 2010, 05:57:40 pm
http://www.railvermont.org/administrator/index2.php?option=com_civicrm&task=civicrm/group/search&&_qf_Select_display=true&qfKey=[deleted]

[I deleted the key in the above URL]

I don't think I changed the duplicate matching, but in any case I just went and checked the settings and it shows e-matching set to strict and last name to fuzzy.  That is what is confusing me, as David S. entered a new e-mail which overwrote David C.'s e-mail.  I can't tell from the change log how this happened, perhaps it was a multi-step process.  I also checked the Joomla users, but neither are registered joomla users.
Thanks to those who help create and enhance civiCRM!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: New Contact overwrote data of existing contact
March 03, 2010, 06:37:06 pm
Don't know how the over-write happened :-(

That URL is not for a profile - it's a "search within a group" URL ???
Protect your investment in CiviCRM by  becoming a Member!

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: New Contact overwrote data of existing contact
May 27, 2010, 09:33:44 am
This problem of a new contact record overwriting a record with the same last name has happened again.  (both times, with important constituents!).  The original record was a donor, C. N.  Now I'm teaching him how to use civiCRM, so we opened up his record, using the search box in the menu and I became alarmed when I noticed some of C.N.'s information in fields that B.N. had no info.  It seems that a new record was NOT created when B.N.'s information was entered. 

B.N.'s information also came from the same problematic front-end profile for volunteers: http://railvermont.org/sign-up-to-volunteer.html
That is Joomla's re-write of: index.php?option=com_civicrm&view=Profiles&layout=edit
This link is what is shown in Joomla's menu item under Alias, but that page also shows the link to "Volunteer Interest Form," which is the custom form I created (which is indeed seen from the front end)
Thanks to those who help create and enhance civiCRM!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: New Contact overwrote data of existing contact
May 27, 2010, 12:27:57 pm
What is your default dedupe rule for individual ? If it says that's last name only, that's normal it replaced the previous contact with the same last name.

(guessing)

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: New Contact overwrote data of existing contact
May 27, 2010, 01:04:58 pm
 e-matching set to strict and last name to fuzzy.
Thanks to those who help create and enhance civiCRM!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • New Contact overwrote data of existing contact

This forum was archived on 2017-11-26.