Bug 1269091 - Flat file import wizard stuck when model project not selected beforehand
Summary: Flat file import wizard stuck when model project not selected beforehand
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Barry LaFond
QA Contact: Andrej Smigala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-06 10:00 UTC by Andrej Smigala
Modified: 2015-11-17 18:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-17 18:08:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-2679 0 Major Closed Flat file import wizard stuck when model project not selected beforehand 2015-11-17 18:00:39 UTC

Description Andrej Smigala 2015-10-06 10:00:07 UTC
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.


Steps to reproduce:
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"

Comment 2 JBoss JIRA Server 2015-10-06 22:17:11 UTC
Ted Jones <tejones> updated the status of jira TEIIDDES-2679 to Resolved

Comment 3 JBoss JIRA Server 2015-10-20 09:47:54 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2679 to Closed


Note You need to log in before you can comment on or make changes to this bug.