[ http://mc4j.org/jira/browse/STS-427?page=comments#action_10844 ] 
            
Alan Burlison commented on STS-427:
-----------------------------------

For anyone who is interested in looking at this bug, the right place to start 
seems to be fillInTypeInformation() in 
net.sourceforge.stripes.util.bean.PropertyExpressionEvaluation.java, 
specifically the section around line 179.

> Even with STS-426 fixed, Stripes doesn't deal with generic Beans that use 
> inheritance
> -------------------------------------------------------------------------------------
>
>                 Key: STS-427
>                 URL: http://mc4j.org/jira/browse/STS-427
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.5, Release 1.4.3
>         Environment: OpenSolaris
> Tomcat 5.5.17
>            Reporter: Alan Burlison
>         Assigned To: Tim Fennell
>
> 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://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to