"The value of shadow key property 'PROPERTYNAME' is unknown when attempting to save changes" on tracked entities #26330
Labels
area-change-tracking
area-save-changes
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
Hello!
We are detecting a regression on our tests when using collections of Owned Types with a shadow key property.
It seems the owned entity is detected as with "unknown key" even if it is still tracked on the context (this is not happening with EF Core 3.1.x)
Tested with InMemory provider.
Full Program.cs:
Stack trace
Provider and version information
EF Core version: 6.0.0-rc.2.21480.5
Database providers: Microsoft.EntityFrameworkCore.InMemory
Target framework: .NET 6.0
Operating system: Windows 10.0.19042.1288
IDE: JetBrains Rider 2021.2.1
The text was updated successfully, but these errors were encountered: