Red Hat Bugzilla – Bug 1265732
Preview data will have deployed the driver to the server only after first error.
Last modified: 2015-12-07 08:20:53 EST
I remove a driver from the server. I click to refresh teiid instance connection in the Jboss developer studio. (once or more) but preview data don't deploys the driver on the server and show error (TEIID30498 Capabilities for [source model] were not avaialable. The command could not be planned properly.). And from now when I click to refresh teiid instance connection and I click to preview data, data will be show correctly.
Steps to Reproduce:
1.Right click to any view table and select Modelling -> Preview Data (data will be shown correct)
2.Remove driver from the server
3.Refresh teiid instance connection (once or more)
4.Preview data again, it finishes error (TEIID30498 Capabilities for were not avaialable. The command could not be planned properly.)
5.Refresh teiid instance connection again
6.Right click the view table and select Modelling -> Preview Data (data will be shown correct)
I think the fix will be to add an additional check to insure the driver (jar) for a deployed DS exists on the server before continuing with Preview. If situation occurs, the probably throw up a dialog.
Using only JIRA now. Marking as closed