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

APIv4 - Fix schema map to use canonical field names #17239

Merged
merged 1 commit into from
May 6, 2020

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented May 6, 2020

Overview

This fixes a bug in SchemaMapBuilder where it was accidentally using "unique names"
which do not map to the real names of db columns.
See https://lab.civicrm.org/dev/core/-/issues/1563

Before

Wrong field names causing some broken joins.

After

Fixed.

Note

Implicit multi-joins are no longer displayed in the API Explorer per #17205 so the original bug is no longer reproducible in the UI.

This fixes a bug in SchemaMapBuilder where it was accidentally using "unique names"
which do not map to the real names of db columns.
@civibot
Copy link

civibot bot commented May 6, 2020

(Standard links)

@civibot civibot bot added the master label May 6, 2020
@seamuslee001
Copy link
Contributor

This looks good to me @eileenmcnaughton

@colemanw colemanw merged commit 8f3b1e8 into civicrm:master May 6, 2020
@colemanw colemanw deleted the fixSchemaMap branch May 6, 2020 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants