-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev/core#1858 Prevent Duplicate contact records being created and har… #17769
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Standard links)
|
seamuslee001
force-pushed
the
lab_core_1858
branch
from
July 8, 2020 23:23
c89dfa4
to
440d8cc
Compare
|
@seamuslee001 Can you add a code comment per @demeritcowboy suggestion? |
seamuslee001
force-pushed
the
lab_core_1858
branch
from
July 11, 2020 22:33
440d8cc
to
8836b78
Compare
done |
Great, thanks. |
@seamuslee001 I was gonna merge this & then I read the comment : "case from the back off contact task I'm not sure that makes sense? |
…ve the contactID in the post variable from the contact task form that we map that to contact_id for the dedupe params Add in a code comment describing the issue
seamuslee001
force-pushed
the
lab_core_1858
branch
from
July 12, 2020 23:02
8836b78
to
4957041
Compare
@eileenmcnaughton have clarified the comment now hopefully |
thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…d fatal errors when creating a CMS user account from the contact action by ensuring that the contact_id field is correctly passed through for dedupe matching
Overview
Reproduction steps are on the lab ticket https://lab.civicrm.org/dev/core/-/issues/1858 but the key aspect of the reproduction steps is having an unsupervised dedupe rule for individuals that requires not just a match on email address to work
Before
DB error / duplicate contact created
After
No DB Error / no duplicate contact record created
ping @demeritcowboy @eileenmcnaughton @mlutfy @KarinG @kcristiano