sillsdev / sillsdev/languageforge-lexbox
A project can become un-openable if you create the same example twice
Open
@rmunn is already working on this.
Since Feb 11, 2026.
📖 MiniLcm
bug
- Dominant language
- C#
- Stars
- 9
- Forks
- 8
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
Related to https://github.com/sillsdev/liblcm/issues/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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.