[
http://www.stripesframework.org/jira/browse/STS-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Archer updated STS-759:
-----------------------------
Attachment: ReflectUtil.patch
Patch to possibly fix this bug.
> Setter methods fail when a bean overrides a method with a subclass
> ------------------------------------------------------------------
>
> Key: STS-759
> URL: http://www.stripesframework.org/jira/browse/STS-759
> Project: Stripes
> Issue Type: Bug
> Components: Validation
> Affects Versions: Release 1.5.3
> Environment: All OS, Java 6
> Reporter: Tyler Elliott
> Assignee: Ben Gunter
> Attachments: ReflectUtil.patch
>
>
> A property cannot be set on a bean when that bean extends (or implements) an
> abstract class (or interface) that defines the getter to return a super class
> of the one defined by the concrete class.
> This is related to validation bugs that I've seen before, as well as the
> following sun bug.
> http://bugs.sun.com/view_bug.do?bug_id=6794807
> For example
> abstract class Test {
> public abstract Object getId();
> }
> public class TestImpl extends Test {
>
> private String id;
>
> public void setId(String id) {this.id = id;}
> @Override
> public String getId() {return id;}
> }
> In this case, stripes cannot set the ID because Introspector finds no setter
> that takes an Object argument.
--
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
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development