[ 
http://www.stripesframework.org/jira/browse/STS-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Fennell resolved STS-427.
-----------------------------

    Resolution: Fixed

Fixed!  Alan, it'd be good to get a second set of eyes on my changes.  The svn 
revision is 761.  It works with the test case you provided, and I /think/ it's 
fairly robust.  I've been drawing myself diagrams of horrible hierarchies and 
relationships trying to figure out if it could go wrong, but I think it's 
sound.  Your feedback would be well received since it's essentially your code 
I've been modifying in getTypeVariableValue()!

> Even with STS-426 fixed, Stripes doesn't deal with generic Beans that use 
> inheritance
> -------------------------------------------------------------------------------------
>
>                 Key: STS-427
>                 URL: http://www.stripesframework.org/jira/browse/STS-427
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.4.3, Release 1.5
>         Environment: OpenSolaris
> Tomcat 5.5.17
>            Reporter: Alan Burlison
>            Assignee: Tim Fennell
>             Fix For: Release 1.5
>
>         Attachments: STS-427.patch
>
>
> STS-426 covered the case where Stripes needed to handle a bean of the form 
> MyBean<A,B>, and provides a fix for that issue.  However, if MyBean inherits 
> from another class, Stripes fails to bind any of its properties, e.g.
> class Class1<A,B> { ... }
> class Class2<B,A> extends Class1<B,A> {}
> class Class3<X,Y> extends Class2<X,Y> {}
> public class MyBean<A,B> extends Class3<A,B> {}
> See the file net.sourceforge.stripes.test.TestGenericBean for an example of 
> how to construct a test case to trigger this bug.
> See also http://mc4j.org/jira/browse/STS-426

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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to