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

Model refactoring: view model is missing imports after moving into or out of folder

XMLWordPrintable

    • Hide

      Moving into folder

      1. import the attached project
      2. right click ViewModel1 -> Refactor -> Move, select the views folder
      3. notice Missing model import... in the problems view
      4. right-click the model, select Modeling -> Update Imports, the error goes away

      Moving out of folder:

      1. import the attached project
      2. right click ViewModel2 -> Refactor -> Move, select the root of the project
      3. notice Missing model import... in the problems view
      4. right-click the model, select Modeling -> Update Imports, the error goes away
      Show
      Moving into folder import the attached project right click ViewModel1 -> Refactor -> Move, select the views folder notice Missing model import... in the problems view right-click the model, select Modeling -> Update Imports, the error goes away Moving out of folder: import the attached project right click ViewModel2 -> Refactor -> Move, select the root of the project notice Missing model import... in the problems view right-click the model, select Modeling -> Update Imports, the error goes away
    • Workaround Exists
    • Hide

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

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

      When moving a view model into a folder from the project root or vice versa, the model imports are not updated correctly.

              mdrillin1@redhat.com Mark Drilling (Inactive)
              asmigala@redhat.com Andrej Smigala
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: