-
Bug
-
Resolution: Done
-
Critical
-
10.0.3, 9.3.7, 10.1.1, 10.2, 8.12.13.6_4
-
None
-
None
The logic that creates function metadata object in IndexMetadataRepository to replace procedures marked as isFunction = true does not convey the designer object uuids, then when values are assigned later that logic does not generate a sufficiently different uid.
The exception is reported as:
Caused by: java.lang.AssertionError: duplicate uid boolean result
at org.teiid.query.metadata.CompositeMetadataStore.addOid(CompositeMetadataStore.java:199)
at org.teiid.query.metadata.CompositeMetadataStore.assignOids(CompositeMetadataStore.java:192)
at org.teiid.query.metadata.CompositeMetadataStore.getOids(CompositeMetadataStore.java:231)
at org.teiid.query.metadata.CompositeMetadataStore.getOid(CompositeMetadataStore.java:217)
at org.teiid.deployers.PgCatalogMetadataStore$FunctionMethods.getOid(PgCatalogMetadataStore.java:614)