]
Paul Richardson commented on TEIIDDES-2641:
-------------------------------------------
PR
Copying Model problem
---------------------
Key: TEIIDDES-2641
URL:
https://issues.jboss.org/browse/TEIIDDES-2641
Project: Teiid Designer
Issue Type: Bug
Components: Patch Release
Affects Versions: 9.0.3
Reporter: stanislav kaleta
Assignee: Paul Richardson
Fix For: 9.2.1
Attachments: CopyModelImports.png, CopyModelProcedureSQL.png, TestedProject.zip
When creating new view model by copying from existing model (see steps to reproduce), two
bugs occurs.
First:
In Transformation Diagram of model's procedures, name of model is not updated.
!CopyModelProcedureSQL.png|thumbnail!
In this case "Products_view.PRODUCTDATA.NAME" should be updated to
"<new_model_name>.PRODUCTDATA.NAME", otherwise it produce validation
error.
Additionally:
If location of new model is different from existing model (different folder or project),
import declarations to source model will be added as following:
* import declaration to source model is added (in this case:
/Dataroles/sources/Products_source.xmi)
* concurrently, another import declaration (with name: Model Import) with error (Unable
to resolve the imported model ../sources/Products_source.xmi) is added.
!CopyModelImports.png|thumbnail!