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 CiviMember (Moderator: Deepak Srivastava) »
  • Duplicate email checking in CiviMember
Pages: [1]

Author Topic: Duplicate email checking in CiviMember  (Read 2611 times)

bails

  • Guest
Duplicate email checking in CiviMember
March 10, 2009, 09:36:44 am
Hi I have this scenario and wonder if anyone can help.

I have 2 different membership types (A + B), I'm am already a member of A but would like to become a member of B.

So I go to my CiviContribute form and sign up as a member of B using the SAME email address as I am using for my membership of A.

Result = new contact record, member of B but duplicate email address of contact who is member of A.

However if from the civiCRM admin menu I add a new individual and enter the same email address I get 'Please correct the following errors in the form fields below: 2 matching contacts were found. You can edit them here:'

In my Weight Threshold to Consider Contacts 'Matching':, I have the same for fuzzy and strict e.g. email weight = 10: Weight Threshold to Consider Contacts 'Matching' = 10.

Is this a bug or does civicontribute/civimember not check the Weight Threshold to Consider Contacts 'Matching' rules?

Thanks

Shailesh Lende

  • Guest
Re: Duplicate email checking in CiviMember
March 11, 2009, 10:16:22 pm
Hi,
I think might be bug in v2.1.
Temporary fix for this would be
Modify CRM/Contribute/Form/Contribution/Confirm.php
Add below code on line no 406 (just before dedupe check)

$params["email"]  = $params["email-Primary"]

Shailesh
« Last Edit: March 12, 2009, 06:48:13 am by Kurund Jalmi »

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
Re: Duplicate email checking in CiviMember
March 12, 2009, 05:50:38 am
Quote from: Shailesh Lende on March 11, 2009, 10:16:22 pm
Modify CRM/Contribute/Form/Contribution/Confirm.php
Add below code on line no 406 (just before dedupe check)

$params["email"].  = $params["email-Primary"]

I think this should be:
Code: [Select]
$params["email"] = $params["email-Primary"]
- which works: dupe checking is carried out and the membership signup is related to an existing matching contact if one is found - thanks!

I've filed an issue: issues.civicrm.org/jira/browse/CRM-4237

Cheers,

Dave J

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Duplicate email checking in CiviMember

This forum was archived on 2017-11-26.