Skip to content

A project can become un-openable if you create the same example twice #1931

@hahn-kev

Description

@hahn-kev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working📖 MiniLcmissues related to miniLcm library code, includes fwdat bridge and lcmCrdt

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions