[teiid-issues] [JBoss JIRA] (TEIID-2468) teiid script should return null if an intermediate object is null

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Fri Apr 12 13:07:56 EDT 2013


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

Steven Hawkins resolved TEIID-2468.
-----------------------------------

    Resolution: Done


added an appropriate null check
                
> teiid script should return null if an intermediate object is null
> -----------------------------------------------------------------
>
>                 Key: TEIID-2468
>                 URL: https://issues.jboss.org/browse/TEIID-2468
>             Project: Teiid
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 8.2
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.4
>
>
> A script such as foo.bar.z will throw an npe if bar is null, but return null if foo is null.  for consistency null should always be returned when any reference in the script chain is null.

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