Red Hat Bugzilla – Bug 1260690
Copying Model to another Project
Last modified: 2016-02-05 05:30:58 EST
Is it OK, if its possible to create (source, view) model by copying from model in different project?
I think it does not make sense to copy view model from one project to another.
Steps to Reproduce:
1. right-click on a project and select New > Teiid Metadata Model
2. select Module Builder: Copy from existing model of the same model class (rest is optional) and click Next >
3. browse for models and select a model that is not in right-clicked project
4. new model will be created in right-clicked project
It makes sense in the use case of top-down modeling. The user is designer their abstraction layer first. And then will work down to map the views to underlying layers (i.e., Object Layer) or to the actual source model.
OK, but when you copy a view model that references some source model, TD should at least warn you that the resulting view model will be broken, in my opinion. (or copy referenced source model also)
Pushing to DV 6.3 Tooling release
Closing this since we are tracking issues for tooling only in JIRA from now on.