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

Flat file import wizard stuck when model project not selected beforehand

    XMLWordPrintable

Details

    • Hide

      These steps must be followed exactly. There are other situations when this issue occurs, but these are the only steps I was able to find to reliably reproduce.

      1. open JBDS with clean workspace
      2. open Teiid Designer perspective
      3. create new model project
      4. create a new empty VDB in the project
      5. expand the project in the Model Explorer, double click the VDB, do not click on the project
      6. select Window -> Open Perspective -> Other -> Database Development
      7. switch back to Teiid Designer perspective, do not click on the project
      8. switch to Outline
      9. select File -> Import -> File Source (Flat)
      10. Next, Next
      11. click New, define any flat file datasource, Finish
      12. under Source Model Definition, the Name is now prefilled, Location is empty
      13. Click "..." next to Location, select the model project, OK
      14. notice the wizard still says "Source model file location must be selected. Choose '...' button and select existing project or folder"
      Show
      These steps must be followed exactly. There are other situations when this issue occurs, but these are the only steps I was able to find to reliably reproduce. open JBDS with clean workspace open Teiid Designer perspective create new model project create a new empty VDB in the project expand the project in the Model Explorer, double click the VDB, do not click on the project select Window -> Open Perspective -> Other -> Database Development switch back to Teiid Designer perspective, do not click on the project switch to Outline select File -> Import -> File Source (Flat) Next, Next click New, define any flat file datasource, Finish under Source Model Definition, the Name is now prefilled, Location is empty Click "..." next to Location, select the model project, OK notice the wizard still says "Source model file location must be selected. Choose '...' button and select existing project or folder"
    • Workaround Exists
    • Hide

      Select a Model Project before attempting to import from flat file

      Show
      Select a Model Project before attempting to import from flat file

    Description

      In some situations, especially when returning from Database Development perspective back to Teiid Designer perspective after executing a VDB, the Import From Flat File Source wizard will fail when selecting the target model location. Even after selecting a model project, the wizard says "Source model file location must be selected. Choose '...' button and select existing project or folder", and cannot be advanced further. See Steps to reproduce for details.

      The issue disappears after clicking on a model project in the Model Explorer.

      It appears that the wizard tries to use the selected project, but there is none in some situations.

      The issue seems to be limited to Flat File import wizard.

      Attachments

        Activity

          People

            rhn-engineering-tejones Edwin Jones
            asmigala@redhat.com Andrej Smigala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: