[ 
http://issues.apache.org/jira/browse/TUSCANY-885?page=comments#action_12449716 
] 
            
Luciano Resende commented on TUSCANY-885:
-----------------------------------------

After this changes, DAS test case is failing at :

Running org.apache.tuscany.das.rdb.test.suites.AllTestsDerby
Setting up for Derby run
Ending Derby run
Tests run: 140, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.688 sec <<<
 FAILURE!
testReadSingleVerifyShapeUse(org.apache.tuscany.das.rdb.test.ResultSetShapeTests
)  Time elapsed: 0.078 sec  <<< ERROR!
java.lang.ClassCastException: org.apache.tuscany.sdo.impl.DynamicDataObjectImpl
incompatible with java.util.List
       at org.apache.tuscany.sdo.impl.DataObjectImpl.getList(DataObjectImpl.jav
a:376)
       at org.apache.tuscany.das.rdb.test.ResultSetShapeTests.testReadSingleVer
ifyShapeUse(ResultSetShapeTests.java:85)

> Property DataObject.getProperty(String propertyName) should return null if 
> the property cannot be found
> -------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-885
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-885
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-Mx
>            Reporter: Fuhwei Lwo
>         Assigned To: Kelvin Goodson
>            Priority: Minor
>             Fix For: Java-Mx
>
>         Attachments: tuscany-885.patch
>
>
> Based on SDO 2.01 specification, DataObject.getProperty(String propertyName) 
> should return null if the property cannot be found.  Unfortunately, it 
> returns IlegalArgumentException now.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to