1

Our form is overwriting existing contacts when a new submission is made.

All of our dedup rules are related to same names and emails; I do not see any dedup rule that would overwrite a (seemingly random) contact record with a new contact's information.

How can I prevent this in the future?

This issue began with my question here.The suggestion was excellent, and helped me get to a better understanding of what happened. But I'm still missing precisely where the overwrite is happening. (To be fair, the full suggestion is to check the logs, but I lack the ability to write a query that pinpoints what I want to understand)

  • for checking the logs try the log viewer extension: github.com/adixon/ca.civicrm.logviewer – petednz - fuzion Dec 5 '19 at 9:01
  • Can you be more specific about the form? Is it a Drupal webform, a profile form, a contribution form? Each of those has it's own configuration for how to handle potential duplicates. – Alan Dixon Dec 5 '19 at 15:21
  • Are the forms being submitted by logged-in users, or 'anonymously'? If by logged-in users, see this extension - civicrm.org/extensions/no-overwrite – Joe McLaughlin Dec 5 '19 at 19:14
  • thanks to all. @petednz - I am checking the logs, thanks. – LaurynnLowe Dec 5 '19 at 23:35
  • @AlanDixon it's a drupal form with civi webform integration – LaurynnLowe Dec 5 '19 at 23:39
2

Thanks for everyone's input. It was a very odd matching rule, one that matched on last name with length = 1, weight = 1. I will see when this was added to the site.

| improve this answer | |
  • 1
    Ouch. Ouch. Ouch (x3 to get over the minimum 10 characters for a comment!) – petednz - fuzion Dec 6 '19 at 2:53
0

What is your Matching Rule in the Webform configured at? This is where you find that:

enter image description here

Next -> post a screenshot of that Rule (in your CiviCRM config) as well as a Screenshot of your Webform tab (showing all the elements on the form as well as their Form_keys

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.