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

Fix customField legacy handling in APIv3 #18347

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Sep 4, 2020

Overview

Fixes dev/core#1996
Adds more shims to APIv3 for querying custom fields the old-school way.
Adds tests.

Before

Problem described in https://lab.civicrm.org/dev/core/-/issues/1996

After

Fixed, with tests.

Technical Details

Makes the serialize column NOT NULL to make it simpler to use.

@civibot
Copy link

civibot bot commented Sep 4, 2020

(Standard links)

@civibot civibot bot added the 5.29 label Sep 4, 2020
@eileenmcnaughton
Copy link
Contributor

@colemanw grumpy tests

@colemanw
Copy link
Member Author

colemanw commented Sep 4, 2020

Grumpy brittle tests break with minor schema changes!
Should be fixed now.

@eileenmcnaughton
Copy link
Contributor

I pulled this down & stepped through it in the tests & it seems to work & have good cover

@eileenmcnaughton eileenmcnaughton merged commit 69f2001 into civicrm:5.29 Sep 4, 2020
@eileenmcnaughton eileenmcnaughton deleted the fixSerializeLegacy branch September 4, 2020 20:49
This was referenced Sep 4, 2020
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.

2 participants