You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Fuhwei Lwo (JIRA)" <tu...@ws.apache.org> on 2007/09/17 21:10:43 UTC
[jira] Created: (TUSCANY-1726) List DataObject.getList(String path)
should return an empty list when there is no value
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
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
[jira] Updated: (TUSCANY-1726) List DataObject.getList(String path)
should return an empty list when there is no value
Posted by "Amita Vadhavkar (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amita Vadhavkar updated TUSCANY-1726:
-------------------------------------
Fix Version/s: (was: Java-SDO-Next)
Java-SDO-1.1
> 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-1.1
>
> 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
[jira] Updated: (TUSCANY-1726) List DataObject.getList(String path)
should return an empty list when there is no value
Posted by "Fuhwei Lwo (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fuhwei Lwo updated TUSCANY-1726:
--------------------------------
Attachment: 1726.patch
Patch contains fix with test case. Please review.
> 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
[jira] Resolved: (TUSCANY-1726) List DataObject.getList(String
path) should return an empty list when there is no value
Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
[ 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