]
Johnathon Lee updated TEIID-5250:
---------------------------------
Fix Version/s: 8.12.13.6_4
Duplicate result uid reported when using procedure isFunction=true
------------------------------------------------------------------
Key: TEIID-5250
URL:
https://issues.jboss.org/browse/TEIID-5250
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Critical
Fix For: 10.0.3, 9.3.7, 10.1.1, 10.2, 8.12.13.6_4
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:
{code}
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)
{code}