]
Barry LaFond updated TEIIDDES-2399:
-----------------------------------
Fix Version/s: 9.0.2
Creating view model from source model with generate transformations
results in orphaned annotated object reference to source
----------------------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-2399
URL:
https://issues.jboss.org/browse/TEIIDDES-2399
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 8.6
Reporter: Barry LaFond
Assignee: Paul Richardson
Fix For: 9.1, 9.0.2, 8.6.2
Create a View model from a source model and choose the "Transform.." option to
generate default transformations.
The resulting View model will contain an extra <annotatedObject> reference in the
same <annotations> element as the *relational* extension model reference
{code:xml}
<mmcore:AnnotationContainer
xmi:uuid="mmuuid:9c7ac03c-bafc-4aa1-855f-4e6a43dd9c21">
<annotations xmi:uuid="mmuuid:7aeb8904-fe0c-42ac-ae67-72c8ce5b397d">
<tags xmi:uuid="mmuuid:873b6c71-41d4-476a-bf9a-442cb7fd7943"
key="modelExtensionDefinition:relational" value="relational"/>
<annotatedObject
href="XXXXXXX.xmi#mmuuid/7291fb4c-da39-4bbc-9787-d2edd9b9551c"/>
</annotations>
{code}
This won't cause problems for the View model, however if the View model is copied to
yet another view model, the Model Import for the original source model will end up in the
top level view model due to the orphaned "href=....."