Unify behavior of adding and updating projected entities #149
Annotations
3 errors
|
build
Process completed with exit code 1.
|
|
SIL.Harmony.Tests.DataModelReferenceTests.AddEntityAndReferenceInSameSyncWorks(includeObjectInSnapshot: True):
src/SIL.Harmony.Tests/DataModelReferenceTests.cs#L128
Microsoft.EntityFrameworkCore.DbUpdateException : Error saving snapshots: An error occurred while saving the entity changes. See the inner exception for details.
Word {Id: 1e9b18cc-eb8d-42a8-8e30-5de8a298e893} Added FK {AntonymId: <null>} FK {SnapshotId: <null>}
---- Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details.
-------- Microsoft.Data.Sqlite.SqliteException : SQLite Error 19: 'UNIQUE constraint failed: Word.Id'.
|
|
SIL.Harmony.Tests.DataModelReferenceTests.AddEntityAndReferenceInSameCommitWorks(includeObjectInSnapshot: True):
src/SIL.Harmony.Tests/DataModelReferenceTests.cs#L56
Microsoft.EntityFrameworkCore.DbUpdateException : Error saving snapshots: An error occurred while saving the entity changes. See the inner exception for details.
Word {Id: eba47a50-5636-40df-a73c-cf81e3e6a1b0} Added FK {AntonymId: <null>} FK {SnapshotId: <null>}
---- Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while saving the entity changes. See the inner exception for details.
-------- Microsoft.Data.Sqlite.SqliteException : SQLite Error 19: 'UNIQUE constraint failed: Word.Id'.
|