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

    Details

    • Steps to Reproduce:
      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:
      Workaround Exists
    • Workaround Description:
      Hide

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

      Show
      Right-click the model and select Modeling -> Update Imports
    • Bugzilla Update:
      Perform

      Description

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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mdrillin Mark Drilling
                Reporter:
                asmigala Andrej Šmigala
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: