You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Robert Burrell Donkin (JIRA)" <ji...@apache.org> on 2006/05/30 23:42:30 UTC

[jira] Resolved: (BETWIXT-52) Bug/Testcase: Reading does not work: Container holding a list (generics) of interface implementations

     [ http://issues.apache.org/jira/browse/BETWIXT-52?page=all ]
     
Robert Burrell Donkin resolved BETWIXT-52:
------------------------------------------

    Resolution: Fixed

This took quite a lot of work for what turned out to be a small fix! 

Thanks very much for unit tests - I don't think I'd have stayed the course without them.  Please free to reopen if I haven't fixed it fully.

> Bug/Testcase: Reading does not work: Container holding a list (generics) of interface implementations
> -----------------------------------------------------------------------------------------------------
>
>          Key: BETWIXT-52
>          URL: http://issues.apache.org/jira/browse/BETWIXT-52
>      Project: Commons Betwixt
>         Type: Bug

>     Reporter: Holger Haag
>  Attachments: AlphaListHolder.java, TestPolyListHolder.java, betwixt-polylistholder-2006-05-24-svn-patch, poly.zip
>
> Referring to the thread http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/200605.mbox/%3c18230.1147350149@www099.gmx.net%3e on the commons-user mailing list:
> I've created a test case reproducing this issue. 
> First of all I've extended the existing test case TestPolyList: The interface implementations of AlphaOneImpl and AlphaTwoImpl  now have attributes which are serialized/deserialized. This is closer to real-world examples.
> Secondly, there is now a new  javabean-like class, AlphaListHolder which holds an instance of AlphaList. The test case TestPolyListHolder tries to do the serialization/deserialization. Serialization works nicely, but reading the XML fails.
> I'll attach four files:
> - betwixt-polylistholder-2006-05-24-svn-patch: svn patch for existing files
> - TestPolyListHolder.java: new test case
> - AlphaListHolder.java:  the holder class
> - poly.zip: the whole poly package, just in case (the above mentioned three files should be sufficient to patch the SVN trunk)

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org