[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to