Skip to content
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#2300 Can not use Custom Fields defined on a contact_sub_type in dedupe… #23459

Merged
merged 1 commit into from
May 17, 2022

Conversation

darrick
Copy link
Contributor

@darrick darrick commented May 13, 2022

Overview

Year old issue is here: https://lab.civicrm.org/dev/core/-/issues/2300

I added Finder tests for the Custom Field types because I wasn't sure if every field type was supported. I.e. date, int, float, etc. Doing that found another bug in that if a user created a rule programmatically with sub Type fields. dedupeWithParams would not find a match because the passed in params were getting filtered incorrectly.

@civibot
Copy link

civibot bot commented May 13, 2022

(Standard links)

@civibot civibot bot added the master label May 13, 2022
@seamuslee001
Copy link
Contributor

code seems fine to me the only question is on the hook change to me @eileenmcnaughton thoughts?

@eileenmcnaughton
Copy link
Contributor

I think the hook change is OK - those hooks are awful just jammed in there all over the place - but I don't think this change is material to how it operates

@eileenmcnaughton
Copy link
Contributor

I've also looked into your import test enough now to see that this is also impacting on the test you wrote for that too.

Thanks for all the extra tests!

@eileenmcnaughton eileenmcnaughton merged commit 3408e34 into civicrm:master May 17, 2022
@darrick darrick deleted the dev/core#2300 branch May 18, 2022 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants