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

[release/5.0] Ensure grandchildren and below are mapped to the root table when using table sharing. #22875

Merged
merged 1 commit into from
Oct 5, 2020

Conversation

AndriySvyryd
Copy link
Member

Fixes #22873

Description

When a hierarchy with more than 2 levels is mapped using TPT and the root table has other types sharing it the relational model didn't include all the derived types in the mapping.

Customer Impact

Queries and updates fail for the affected models. There is no reasonable workaround.

How found

Customer report on daily build.

Test coverage

This PR adds tests for the affected scenario.

Regression?

No.

Risk

Low. The change only affects a new 5.0 feature TPT.

@AndriySvyryd AndriySvyryd requested a review from a team October 3, 2020 00:43
Copy link
Member

@smitpatel smitpatel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add end to end test for the scenario?

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