You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org> on 2007/09/24 15:06:50 UTC

[jira] Resolved: (TUSCANY-1726) List DataObject.getList(String path) should return an empty list when there is no value

     [ https://issues.apache.org/jira/browse/TUSCANY-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson resolved TUSCANY-1726.
-------------------------------------

    Resolution: Fixed

Patch looks good, so I committed it with an adapted test to exercise equivalent generated classes. 

> List DataObject.getList(String path) should return an empty list when there is no value
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1726
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1726
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-1.0
>         Environment: WinXP
>            Reporter: Fuhwei Lwo
>             Fix For: Java-SDO-Next
>
>         Attachments: 1726.patch
>
>
> According to SDO 2.1 spec section 3.1.4, it said "DataObject methods with a return type of List, on the DataObject interface or generated, return empty lists rather than null when there is no value."  This means getList() method should return an empty list when there is no value.  Current implementation returns null which is wrong.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org