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

Model Refactoring: view model is broken after moving source model to a different folder

    XMLWordPrintable

Details

    • Hide
      1. create a project and 3 folders within the project. 'SrcFolder1', 'SrcFolder2', 'ViewFolder'.
      2. create a source model within 'SrcFolder1'.
      3. create a view model within 'ViewFolder' - transform using the src model you created in SrcFolder1. Should all validate ok.
      4. Do Refactor > Move, moving the source model from 'SrcFolder1' to 'SrcFolder2'.
      5. After the move, the view model imports did not get updated correctly.
      Show
      create a project and 3 folders within the project. 'SrcFolder1', 'SrcFolder2', 'ViewFolder'. create a source model within 'SrcFolder1'. create a view model within 'ViewFolder' - transform using the src model you created in SrcFolder1. Should all validate ok. Do Refactor > Move, moving the source model from 'SrcFolder1' to 'SrcFolder2'. After the move, the view model imports did not get updated correctly.
    • Workaround Exists
    • Hide

      Right click the view model and select Modeling -> Update Imports

      Show
      Right click the view model and select Modeling -> Update Imports

    Description

      When moving a source model between folders, view models which depend on it are not updated correctly.

      Updating the imports manually fixes the issue.

      Attachments

        Activity

          People

            blafond Barry LaFond
            asmigala@redhat.com Andrej Smigala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: