]
Barry LaFond edited comment on TEIIDDES-2904 at 8/30/16 1:57 PM:
-----------------------------------------------------------------
10.0.x:
* Added checks in PreviewManager to look for JNDI name in model,
determine if DS exists with that name and query the user to create it if
it doesn't
* If deployment/creation of missing DS fails, the preview dialog will
cancel on it's own.
was (Author: blafond):
10.0.x:
If server isn't configured before trying importing it causes
issues
-------------------------------------------------------------------
Key: TEIIDDES-2904
URL:
https://issues.jboss.org/browse/TEIIDDES-2904
Project: Teiid Designer
Issue Type: Bug
Components: Data Preview, Import/Export
Affects Versions: 10.0.1
Reporter: Van Halbert
Assignee: Barry LaFond
Priority: Critical
Fix For: 10.0.2
Attachments: preview-data-missing-datasources-dialog.png
If the server isn't configured before doing a file import of a csv files issues will
occur.
In this case, sever was not configured upon start up. During the steps to import of the
CSV file, it had the option to automatically create the data source enabled (but visually
disabled). The JNDI name was filled. Finished importing and the source and view models
were created.
Started server and then tried previewing. This errors because the data source hasn't
been created yet.
I then created the data source.
Then tried to do a data preview. But that failed. I then realized, if you do menu
option "Set JNDI Name" it is blank. After retesting different scenarios, the
JNDI name is set to blank if you use the Create Datasource option. So that how the JNDI
got wiped clean. Once the JNDI name was reset, could then do a data preview.