[
https://jira.jboss.org/jira/browse/TEIIDDES-200?page=com.atlassian.jira.p...
]
Barry LaFond commented on TEIIDDES-200:
---------------------------------------
This use-case involves two models named the same but with different extensions, namely
Books.xmi and Books.xsd.
During VdbDefnHelper.autoAssingBindings() call, the ModelInfo.requiresConnectorBinding()
is checked (BasicVDBModelDefn implements ModelInfo).
During the construction of BasicVDBModelDefn instance, the ModelType and URI are set, but
BOTH are used to determine the value (true/false) of
"requiresConnectorBinding".
If the URI is not set when ModelType is checked we DON'T KNOW the actual Metamodel
even though ".xsd/.xmi" is available we don't use it.
So it appears to be a time/weak logic thing where the requiresConnectorBinding is set to
FALSE in this case.
Source Model Not Added To VDB Execution Page Of VDB Editor
----------------------------------------------------------
Key: TEIIDDES-200
URL:
https://jira.jboss.org/jira/browse/TEIIDDES-200
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 6.1.0
Environment: Ubuntu 8.04
Reporter: Dan Florian
Fix For: Future
Attachments: bookSetMixed.cdk, BookSetMixed.zip
Add BooksDoc to the VDB then go to the Execution tab. This shows in the log:
Unable to resolve reference to a resource with the URI
file:/home/dflorian/Runtime-Workspaces/.metadata/.plugins/org.teiid.designer.vdb.edit/vdbWorkingFolder/1243886654886_6290397909764948307/Book%20Set%20Mixed/BookDatatypes.xsd
Notice that Books.xmi is NOT added but BooksSS.xmi is added. If you add Books.xmi by
itself it DOES getting added OK.
Added model project set as an attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira