Bug 1035019

Summary: Creating a VDB with XML document model results in error
Product: [JBoss] JBoss Data Virtualization 6 Reporter: rareddy
Component: ToolingAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: asmigala, atangrin, dlesage, vhalbert
Target Milestone: ER1   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When creating a VDB using Teiid Designer, if any two models had the same name but different extensions (for example, Employees.xsd and Employees.xmi), the user was presented with an error. This behaviour has now been corrected. As a result, users will no longer encounter this error.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-17 18:07:15 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:

Description rareddy 2013-11-26 21:01:43 UTC

Comment 2 JBoss JIRA Server 2013-11-27 13:52:44 UTC
Barry LaFond <blafond> made a comment on jira TEIIDDES-1945

The Project set contains Employees.xsd and Employees.xmi models.

The vdb.xml model elements strip off the file extension, so it tries to create 2 models with identical *Employees" names and it fails.

Comment 3 JBoss JIRA Server 2013-11-27 13:56:18 UTC
Ramesh Reddy <rareddy> made a comment on jira TEIIDDES-1945

I do not know of any stripping of the extensions, that may exist inside the Designer code. However that reduces the severity of this defect.

Comment 4 JBoss JIRA Server 2013-11-27 14:11:23 UTC
Barry LaFond <blafond> made a comment on jira TEIIDDES-1945

Since we went to the new vdb.xml manifest, it's been assumed that the model *name" represents a "schema" and the file extensions are stripped off the file names and the "type" value is used to distinguish the model type.

Guess all we need to know is can the vdb.xml accept "Employees.xmi" as a valid model *name" value?

Comment 5 JBoss JIRA Server 2013-11-27 14:43:51 UTC
Ramesh Reddy <rareddy> made a comment on jira TEIIDDES-1945

No, I would put in a validation rule that two model names can not be same

Comment 7 JBoss JIRA Server 2014-02-06 20:28:03 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1945 to Resolved

Comment 8 JBoss JIRA Server 2014-04-07 14:54:58 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1945 to Reopened

Comment 9 JBoss JIRA Server 2014-04-07 14:56:26 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1945 to Resolved

Comment 10 JBoss JIRA Server 2014-05-07 21:06:13 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1945 to Closed

Comment 11 JBoss JIRA Server 2014-05-27 13:55:44 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1945 to Reopened

Comment 12 JBoss JIRA Server 2014-05-27 13:56:20 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1945 to Resolved

Comment 13 JBoss JIRA Server 2014-06-10 16:31:27 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1945 to Reopened

Comment 14 JBoss JIRA Server 2014-06-18 18:45:02 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1945 to Resolved

Comment 15 JBoss JIRA Server 2014-06-20 12:14:31 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1945 to Closed