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

Saving as Relational Source Model breaking View Model references

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • Future
    • 10.0.2
    • Editors
    • None
    • Hide
      1. import attached project
      2. open CloneAndCopyProject/original/RelationalSourceModel.xmi
      3. in top menu bar click File/Save As...
      4. set location to SaveAs folder, name to RelationalSourceModelSaveAs and click OK, OK
      5. in top menu bar click Project/Clean...
      6. 26 errors in RelationalViewModel.xmi about Sql Transformation should appear
      Show
      import attached project open CloneAndCopyProject/original/RelationalSourceModel.xmi in top menu bar click File/Save As... set location to SaveAs folder, name to RelationalSourceModelSaveAs and click OK, OK in top menu bar click Project/Clean... 26 errors in RelationalViewModel.xmi about Sql Transformation should appear
    • Workaround Exists
    • Hide

      For the virtual model with errors, open each view's transformation editor which will clean up the bad EMF references. Saving model afterwards will remove the errors.

      Show
      For the virtual model with errors, open each view's transformation editor which will clean up the bad EMF references. Saving model afterwards will remove the errors.

      I have a Source Model which is referenced in View Model. When I use Save As action to create a copy of Source Model, every SQL Transformation reference in View Model will break

      Error log: Sql transformation in the model RelationalViewModel contains the unresolved reference file:/<location where new model was saved as>

      I didn't select View Model in Import References dialog and references still somehow changed to new model( + are broken).

      When I select View Model in Import References dialog, references are changed to new model correctly, although model has still a reference to old Source Model too.

              Unassigned Unassigned
              skaleta@redhat.com Stanislav Kaleta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: