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

Saving as Relational Source Model breaking View Model references

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0.2
    • Fix Version/s: Future
    • Component/s: Editors
    • Labels:
      None
    • Steps to Reproduce:
      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:
      Workaround Exists
    • Workaround Description:
      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.

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                skaleta Stanislav Kaleta
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: