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-rc2] Throw exception for cycles in auto included navigations #22612

Merged
merged 1 commit into from
Sep 19, 2020

Conversation

smitpatel
Copy link
Member

Resolves #22568

Description
It is possible to have bad configuration of auto included navigations in the model which causes a cycle.

Customer Impact
Customers with bad configuration when running a query with affected types runs into stackoverflow indicating no information about the error.

How found

Customer reported on RC1.

Test coverage
It is a negative case scenario. We did not have coverage for it. We have added coverage for supported scenario with cycle and error validation for incorrect case.

Regression?
No, it is new feature introduced in 5.0

Risk
Low. It should only affect when auto includes are used. Further any error can be mitigated by ignoring auto include at query level.

@smitpatel
Copy link
Member Author

Added real cycle.

@AndriySvyryd AndriySvyryd changed the base branch from main to release/5.0-rc2 September 19, 2020 00:42
@ajcvickers
Copy link
Member

@smitpatel Approved by Tactics.

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.

Stackoverflow exception for circular model configuration for eager load (AutoInclude)
3 participants