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

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

AndriySvyryd
Copy link
Member

Fixes #29997
Port of #34640

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 added this to the 8.0.11 milestone Sep 14, 2024
@AndriySvyryd AndriySvyryd merged commit 43718a7 into release/8.0 Oct 2, 2024
7 checks passed
@AndriySvyryd AndriySvyryd deleted the Issue29997 branch October 2, 2024 18:20
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