Skip to content

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 a team and artl93 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