Skip to content

Importing 2 of the same component in registries other than SynBioHub results in an error when exporting #376

@Drock54651

Description

@Drock54651
  • If you have 2 promoters and you try to import the same component for both of them from Charmme, this will result in an error when exporting due to the identities not being unique
  • This is only a problem for registries different from SynBioHub

Stack Trace:
org.sbolstandard.core2.SBOLValidationException: sbol-10202: Weak Validation Error:
The identity property of an Identified object MUST be globally unique.
Reference: SBOL Version 2.3.0 Section 7.4 on page 17
at org.sbolstandard.core2.SBOLDocument.addTopLevel(SBOLDocument.java:4810)
at org.sbolstandard.core2.SBOLDocument.addComponentDefinition(SBOLDocument.java:1481)
at org.sbolstandard.core2.SBOLDocument.createComponentDefinition(SBOLDocument.java:1436)
at org.sbolstandard.core2.SBOLDocument.createComponentDefinition(SBOLDocument.java:1467)
at utils.MxToSBOL.createComponentDefinition(MxToSBOL.java:405)
at utils.MxToSBOL.setupDocument(MxToSBOL.java:181)
at utils.MxToSBOL.toSBOL(MxToSBOL.java:86)
at servlets.Convert.doPost(Convert.java:58)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions