[teiid-issues] [JBoss JIRA] Resolved: (TEIID-799) String to boolean conversion should not throw an exception

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Mon Aug 31 17:49:23 EDT 2009


     [ https://jira.jboss.org/jira/browse/TEIID-799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-799.
----------------------------------

    Resolution: Done


Updated the reference, basic transforms, and the connector logic.

> String to boolean conversion should not throw an exception
> ----------------------------------------------------------
>
>                 Key: TEIID-799
>                 URL: https://jira.jboss.org/jira/browse/TEIID-799
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: Query Engine
>    Affects Versions: 6.0.0
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Minor
>             Fix For: 6.2.0
>
>
> The string to boolean conversion should not throw an exception since that behavior is not easily ported to sources.  Instead both the number to boolean and the string to boolean conversion should rely on effective boolean value logic.  If the value is null, then null.  If the value is false ('0', 'false') then false, else true.

-- 
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

        


More information about the teiid-issues mailing list