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

[5.0.0-rc2] Add null checks to account for owned types in TPT #22587

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

AndriySvyryd
Copy link
Member

Fixes #22576

Description

This is a bug in a new feature. In scenarios with more than 2 levels of TPT with an owned type defined on a derived type some methods will return null that we haven't accounted for.

Customer Impact

It's hard to estimate how many customers will be impacted, but given the location in the code path it's likely to affect other TPT scenarios apart from the one described above.

How found

Customer reported on RC1.

Test coverage

We were lacking test coverage for complex TPT models. This PR adds a test for the affected scenario.

Regression?

No, new feature in 5.0.

Risk

Low. Code changes just add null checks.

@AndriySvyryd AndriySvyryd changed the title Add null checks to account for owned types in TPT [5.0.0-rc2] Add null checks to account for owned types in TPT Sep 17, 2020
@AndriySvyryd AndriySvyryd merged commit c17b1ba into release/5.0-rc2 Sep 18, 2020
@AndriySvyryd AndriySvyryd deleted the Issue22576 branch September 18, 2020 18:28
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