[teiid-issues] [JBoss JIRA] (TEIID-2330) Failed load shows a loading in the console

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Tue Feb 19 09:35:56 EST 2013


    [ https://issues.jboss.org/browse/TEIID-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755035#comment-12755035 ] 

Ramesh Reddy commented on TEIID-2330:
-------------------------------------

Yes, that is true, it is MetadataException. We have two different places these exceptions can originate.

1) During the metadata load, thrown as TranslatorException

2) During metadata validation, as MetadataException, which is RuntimeException.

I see that during the vdbFinish, RuntimeExceptions are properly transitioned into FAILED state, where as TranslatorException is always treated as an issue with data source that can be corrected, so it is kept in the LOADING state.

I will try to check the "cause" in the TranslatorException to see if that is in fact MetadataException, which should resolve this issue.

BTW, console is very stupid (transparent) in this regard, it just show what information Teiid sends back. Yes, it shows those respective errors on the screen.

                
> Failed load shows a loading in the console
> ------------------------------------------
>
>                 Key: TEIID-2330
>                 URL: https://issues.jboss.org/browse/TEIID-2330
>             Project: Teiid
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Steven Hawkins
>
> The metadataexception in the forum post should transition the vdb to failed.  I'm logging this initially against the console as we have a similar unit test that correctly reports a failed load given invalid ddl, which is essentially the same exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list