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)

9
  • for checking the logs try the log viewer extension: github.com/adixon/ca.civicrm.logviewer
    – petednz - fuzion
    Commented Dec 5, 2019 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
    Commented Dec 5, 2019 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 Commented Dec 5, 2019 at 19:14
  • thanks to all. @petednz - I am checking the logs, thanks. Commented Dec 5, 2019 at 23:35
  • @AlanDixon it's a drupal form with civi webform integration Commented Dec 5, 2019 at 23:39

2 Answers 2

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.

1
  • 1
    Ouch. Ouch. Ouch (x3 to get over the minimum 10 characters for a comment!)
    – petednz - fuzion
    Commented Dec 6, 2019 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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