Skip to content

[BUG] - OML Builder Can Make Duplicate Concept Instances #121

@LewisHumphries

Description

@LewisHumphries

Description

When using the OMLBuilder to create an OML description, if you try to create 2 concept instances with the same name it'll create a duplicate concept instance, which causes the OML description to be invalid.

Steps to Reproduce

Steps to reproduce the behaviour:

  • Step 1 - call the OMLBuilder.addConceptInstance(Description description, String name) function twice using the same value for the name parameter.

Expected Behaviour

The expected behaviour would be to return the original concept instance.

Additional Context

N/A

Relevant screenshots

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions