DefaultValidationMetadataProvider fails to find @Validate annotations on
subclasses
-----------------------------------------------------------------------------------
Key: STS-724
URL: http://www.stripesframework.org/jira/browse/STS-724
Project: Stripes
Issue Type: Bug
Components: Validation
Affects Versions: Release 1.5.2
Environment: Mac OS 10.5, java 1.5.0_20, Tomcat 6.0.18
Reporter: Pascal GrĂ¼n
Priority: Minor
When having an abstract (not necessarily, I think) class GenericActionBean with
public (abstract) Foo getFoo();
public (abstract) void setFoo(Foo foo);
the DefaultValidationMetadataProvider cannot find the correct get/set-method
(i.e. it returns the abstract method) and therefore fails to find any
annotations that might be on the methods of the implementing child class.
This problem exists ONLY if the child class returns a subclass of Foo or if
GenericActionBean is a template class (i.e. GenericActionBean<T>, public
abstract T getFoo)
--
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
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development