X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2FNewComponentType.java;h=f187762cacba3a3df813a6fc5975e2444c7c994e;hb=b055bfb36cca301ceed0591028d245e152c8c32d;hp=813b6c3c15538253097823fe15aa45f675517dc9;hpb=2e21c89c81d449bcc2301b3cf3cce4f2cd403a60;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling/src/org/simantics/modeling/NewComponentType.java b/bundles/org.simantics.modeling/src/org/simantics/modeling/NewComponentType.java index 813b6c3c1..f187762ca 100644 --- a/bundles/org.simantics.modeling/src/org/simantics/modeling/NewComponentType.java +++ b/bundles/org.simantics.modeling/src/org/simantics/modeling/NewComponentType.java @@ -42,7 +42,8 @@ public class NewComponentType { String defaultName = graph.getRelatedValue(indexRoot, MOD.StructuralModel_HasDefaultComponentTypeName, Bindings.STRING); String name = NameUtils.findFreshName(graph, defaultName, library); graph.claimLiteral(componentType, L0.HasName, name + "@1"); - graph.claimLiteral(componentType, L0X.HasGeneratedNamePrefix, ""); + // #7457: replaced by assertion in STR.ComponentType + //graph.claimLiteral(componentType, L0X.HasGeneratedNamePrefix, ""); // Substructure Resource substructureType = graph.getSingleObject(indexRoot, MOD.StructuralModel_HasComponentTypeSubstructureType);