Issue Details (XML | Word | Printable)

Key: CRM-5236
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed/Completed
Priority: Minor Minor
Assignee: Sushant Paste
Reporter: Tom Kirkpatrick
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
CiviCRM

Profile embedded in Drupal user registration page should use strict matching

Created: 15/Oct/09 07:33 AM   Updated: 27/Nov/09 10:18 AM
Component/s: CiviCRM Profile
Affects Version/s: 3.0.1
Fix Version/s: 3.1

Time Tracking:
Not Specified

File Attachments: 1. Text File civicrm_3.0.0-strict-matching-for-drupal-registration.patch (1 kB)



 Description  « Hide
(not sure if this is really a bur or improvement) - In the advanced settings for the profile there is a checkbox entitled 'Update contact on duplicate match' ... the help text for which says:

"If you are using the profile as a contact sign-up and editing form - this option controls what happens if the data matches an existing contact record. If this option is enabled, the matching contact record is updated. Otherwise the user will get a "duplicate record" warning, and their input will not be saved. Contact matching is based on your configured "Strict" rule for identifying duplicate contacts"

However, the strict matching doesn't apply when the profile is embedded in the druapl user registration form (/user/register), which is technically a 'contact sign-up' and the match is done on email alone. I spoke to Mr Lobo and dgg (name?!) and Donald came up with the attached patch which seems to do the trick. With this patch applied, the strict matching rule is used for profiles embedded in the Drupal registration form.

 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Yashodha Chaku added a comment - 09/Nov/09 06:30 AM
assigning for 3.1 verification

Sushant Paste added a comment - 27/Nov/09 10:18 AM
vrified in r25267.