Unify behavior of adding and updating projected entities #190
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: 149a1fed-ad0d-4e3e-8563-49066ddf67d4} 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: 26a09cb8-52a6-4964-b855-a7374d4cfa15} 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'.
|