-
-
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#4156 Fix failure to update organization_name on employees during merge #25778
Conversation
No issue was found matching the number given in the pull request title. Please check the issue number. |
(Standard links)
|
@eileenmcnaughton I did a local
For both Herminia ( If you go to edit the employer, then it does refresh with a newer name. But the persistent value seems unchanged. These observations were the same with or without the patch. |
Hmm - that might be what the test fail is picking up - it works differently on the api action with the patch |
40c428b
to
efaf2ed
Compare
@eileenmcnaughton OK, re-running, it's 50% better.
|
Ug that's horrible - there is no way I can see that being a recent regression either. The only way I can see this line civicrm-core/CRM/Contact/BAO/Contact.php Line 220 in ff8d01e
employer_id
There is some crazy magic here civicrm-core/CRM/Dedupe/Merger.php Lines 2114 to 2124 in 474651b
|
FWIW, it looks like both start out with the expected
In the errant case, I can also confirm that the |
@totten I think we should merge this as is to the rc & consider coming back to it in master - it is better & I'm less & less convinced it is a regression |
@eileenmcnaughton Yup, it is better, and it has test coverage. So better in than out. |
Overview
dev/core#4156 Fix failure to update organization_name on employees during merge
Before
After
organization name updated
Technical Details
Passing in
organization_name
triggers the code to update the employee record. This is kinda black-magicky but the test protects itComments
There is some suggestion this regressed at some point but I couldn't see anything in the code to point me to it -I think 5.60 with no backport makes sense