Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1265732

Summary: Preview data will have deployed the driver to the server only after first error.
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Matej Kralik <mkralik>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED NOTABUG QA Contact: Matus Makovy <mmakovy>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 13:20:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matej Kralik 2015-09-23 15:11:01 UTC
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)

Comment 2 Barry LaFond 2015-11-03 16:47:28 UTC
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.

Comment 3 Barry LaFond 2015-12-07 13:20:53 UTC
Using only JIRA now.  Marking as closed