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/9.0] Remove referencing indexes when reconfiguring a property as a navigation #34640

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

AndriySvyryd
Copy link
Member

Fixes #29997

Description

When a property is reconfigured as a navigation the referencing objects such as indexes, keys and foreign keys are not removed beforehand leading to an exception.

Customer impact

For models where a navigation is referenced by data annotations an exception is thrown during model building. A workaround is to ignore the property before configuring it as a navigation.

How found

Multiple customer reports.

Regression

Yes. From 6.0.x

Testing

Test added.

Risk

Low.

@AndriySvyryd AndriySvyryd requested review from artl93 and a team September 10, 2024 00:20
@artl93
Copy link
Member

artl93 commented Sep 10, 2024

@AndriySvyryd - does this need to go further downward to 8.0? (See #29847)

@AndriySvyryd AndriySvyryd merged commit 8f4a0d6 into release/9.0 Sep 10, 2024
7 checks passed
@AndriySvyryd AndriySvyryd deleted the Issue29997 branch September 10, 2024 22:49
@AndriySvyryd
Copy link
Member Author

@AndriySvyryd - does this need to go further downward to 8.0? (See #29847)

Yes, #34651

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.

4 participants