Bug 1098405
| Summary: | Imported VDB as source model can not be updated using a wizard provided by Teiid Designer | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Hisao Furuichi <hfuruich> | ||||||||
| Component: | Teiid | Assignee: | Barry LaFond <blafond> | ||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Filip Elias <felias> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 6.0.0 | CC: | atangrin, blafond, dlesage, hokuda, lfabriko, mbaluch, mmakovy, nshendye, vhalbert | ||||||||
| Target Milestone: | ER1 | ||||||||||
| Target Release: | 6.3.0 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: |
It is not possible to update a VDB which has been imported as a source model using the Designer plug-in as the "Update (if existing model selected)" check box is not visible for imported virtual databases being used as source models.
|
Story Points: | --- | ||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2017-04-24 08:20:11 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: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Hisao Furuichi
2014-05-16 06:13:28 UTC
Created attachment 896195 [details]
import_by_jdbc_connection.png
Created attachment 896196 [details]
import_by_jdbc_teiid_connection1.png
Created attachment 896197 [details]
import_by_jdbc_teiid_connection2.png
Steven Hawkins <shawkins> updated the status of jira TEIID-2982 to Closed The checkbox "Update (if existing model selected)" is still disabled.
In
org.teiid.designer.jdbc.ui.wizards.JdbcImportOptionsPage.java, there is:
if( this.importer.isVdbSourceModel() ) {
..
this.updateCheckBox.setEnabled(false);
..
}
I was talking to Barry about this and from the TD point of view this a correct behavior. If you import from Teiid VDB the checkbox is disabled on purpose. The Teiid engine provided the feature to override the visibility. Why is designer not enabling that option? By default being "false" is fine. But it should allow the use to change the visibility after importing. I am not sure if this issue has something to do with visibility. This might a question for Barry. The Import VDB Designer support was limited to allowing users to import source models from deployed VDBs via JDBC. These VDB Source Models are treated as read-only and can be used as any other source. The Import VDB come into play when adding your view models to your VDB. Any reference to a VDB Source Model will be interpreted as an ImportVDB and the source model will NOT be added to the VDB. The description of this BZ indicated the user expected to be able to "re-import" a VDB Source Model. When we designed this feature, we decided to treat the imported model as read-only since it represented the "schema" for a model in a specific VDB on the server. As addition to the read-only state of the model, we disabled the ability to "update" the source model and required users to delete their VDB source model first, then re-import it from their "changed" VDB. According to Barry's comment this is not a bug. |