]
Matej Kralik updated TEIIDDES-3119:
-----------------------------------
Attachment: screenshot3.png
Save relationship model as another relationship model makes errors on
view model
--------------------------------------------------------------------------------
Key: TEIIDDES-3119
URL:
https://issues.jboss.org/browse/TEIIDDES-3119
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 11.1
Reporter: Matej Kralik
Attachments: SaveAsProject.zip, screenshot1.png, screenshot2.png,
screenshot3.png
I have source model and view model which uses source model for view tables. I want to
save source model as new source model to another folder (screenshot1). I check that I
don't want to modify view model (because original source model is still there)
(screenshot2). This action causes errors in the view model (errors appear after
Project->Clean).
{code:java}
Sql transformation in the model viewModel contains the unresolved reference
file:/home/mkralik/workspace_testDesigner/SaveAsProject/partsupplier.xmi
{code}
The errors show to a model which doesn't exist because the saved new model has a
different name (partsupplierSaveAs.xmi) but I uncheck modify view model so view model
should still use original model.
Next, the original source model was disappeared from transformation editor.
(screenshot3)I must edit transformation (delete the last letter and add the letter back).
After that, I am able to click on 'Save/Validate SQL ' button for fix error. After
that error is disappeared.