-
-
Notifications
You must be signed in to change notification settings - Fork 6
A project can become un-openable if you create the same example twice #1931
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working📖 MiniLcmissues related to miniLcm library code, includes fwdat bridge and lcmCrdtissues related to miniLcm library code, includes fwdat bridge and lcmCrdt
Description
Related to sillsdev/liblcm#365
Describe the bug
Working on tasks in the frontend I ran into this issue, it should be prevented in the backend.
var entryId = ...;
var senseId = ...;
var example = new ExampleSentence {Id = Guid.NewGuid()};
api.CreateExampleSentence(entryId, senseId, example);
api.CreateExampleSentence(entryId, senseId, example);Expected behavior
The second call should fail with an error.
Note
This issue was seen specifically on a FWData project
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working📖 MiniLcmissues related to miniLcm library code, includes fwdat bridge and lcmCrdtissues related to miniLcm library code, includes fwdat bridge and lcmCrdt