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

Teiid Connection Import fails when model name is set before model location

XMLWordPrintable

    • Hide

      Import fails:

      1. create a model project
      2. in the Guides view, select Model Teiid Datasource and then Create source model from Teiid data source DDL (do not define Teiid Model Project first)
      3. select some datasource on the server (the ExampleDS is ok)
      4. click Next twice to get to the Select the target model for the import page
      5. the Location should be empty
      6. set the Name to something
      7. now set the Location to the created model project
      8. Click Next twice, the DDL fails to import

      Imported model created in wrong folder:

      1. create two model projects, ProjectA and ProjectB
      2. right-click ProjectA, select Import -> Teiid Connection >> Source Model
      3. go through the import as before
      4. on the Select the target model for the import page, set the Name to something, then change the Location to ProjectB
      5. finish the wizard, the new model is created in ProjectA
      Show
      Import fails: create a model project in the Guides view, select Model Teiid Datasource and then Create source model from Teiid data source DDL (do not define Teiid Model Project first) select some datasource on the server (the ExampleDS is ok) click Next twice to get to the Select the target model for the import page the Location should be empty set the Name to something now set the Location to the created model project Click Next twice, the DDL fails to import Imported model created in wrong folder: create two model projects, ProjectA and ProjectB right-click ProjectA, select Import -> Teiid Connection >> Source Model go through the import as before on the Select the target model for the import page, set the Name to something, then change the Location to ProjectB finish the wizard, the new model is created in ProjectA

      When going through the Teiid Connection Import wizard, setting model name before selecting the model project on the Select the target model for the import page causes the import to fail. This happens when no model project was previously selected.

      When a model project is already selected, changing the model project on that page, after setting the model name, causes the new model to be created in the wrong project.

      Selecting the model project first and then setting the model name does not cause any of these issues.

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

                Created:
                Updated:
                Resolved: