[
https://issues.jboss.org/browse/TEIIDDES-2399?page=com.atlassian.jira.plu...
]
Andrej Šmigala reopened TEIIDDES-2399:
--------------------------------------
The Copy all descriptors checkbox is now not shown when right-clicking an existing source
model and selecting New -> Teiid Metadata Model. A view model created this way does not
contain the orphaned annotated object reference.
However, when opening the New Model Wizard any other way (such as File -> New ->
Teiid Metadata Model or by right clicking the model project), the checkbox is still shown
and the created model does contain the annotated object reference.
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: Barry LaFond
Fix For: 9.0.3, 9.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=....."
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)