Page MenuHomePhabricator

Create button to merge "Unknown: Shares contact information"
Closed, ResolvedPublic4 Estimated Story Points

Description

Create an option for a "not a duplicate" button on deduper to mark records as not duplicates but also create a relationship type = "Unknown: Shares contact information" if the donors share any type of contact information

Related Objects

Event Timeline

Dwisehaupt set the point value for this task to 4.Jul 11 2024, 4:55 PM

@NNichols would it be case that

  1. IF a contact is marked not a duplicate AND they have
  2. street_address
  3. or phone number
  4. or email

in common with the not-duplicate contact the relationship is created

OR is the decision to create the relationship made per pair by the deduper?

Also - do we want to add this relationship to existing contact pairs marked 'not duplicate'

Yes if they share any one of those contact pieces, we'll want it to create the relationship and mark them not a duplicate.
I don't think it should not happen automatically. I think we'd at least want someone to make that decision while working in deduper. Can this be a separate button from "Not a duplicate"?

Are you asking if we want to go back and create this for contacts we've reviewed in the past?

"Are you asking if we want to go back and create this for contacts we've reviewed in the past?"

  • yes that was the question

Change #1060526 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Add support for creating relationship on non-dupes

https://gerrit.wikimedia.org/r/1060526

Change #1060527 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Add default for our new setting

https://gerrit.wikimedia.org/r/1060527

Change #1060526 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Add support for creating relationship on non-dupes

https://gerrit.wikimedia.org/r/1060526

Change #1060527 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Add default for our new setting

https://gerrit.wikimedia.org/r/1060527

I just deployed this & tested it - the relationship is created - e g - https://civicrm.wikimedia.org/civicrm/contact/view?reset=1&cid=37538645&selectedChild=rel - but the screen freezes & needs to be refreshed to continue on - will need to see why

status = ok to use but annoying to use

Change #1064643 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Fix typo causing dedupe js to not work

https://gerrit.wikimedia.org/r/1064643

Change #1064643 merged by Eileen:

[wikimedia/fundraising/crm@master] Fix typo causing dedupe js to not work

https://gerrit.wikimedia.org/r/1064643

XenoRyet set Final Story Points to 4.