Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2399

Creating view model from source model with generate transformations results in orphaned annotated object reference to source

XMLWordPrintable

      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

        
      <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>
      

      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=....."

            blafond Barry LaFond
            blafond Barry LaFond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: