Bug in assignable check in SimpleConverterAdapter
-------------------------------------------------

                 Key: WICKET-161
                 URL: http://issues.apache.org/jira/browse/WICKET-161
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.2.3, 1.2.2, 1.2.4, 1.3
            Reporter: Eelco Hillenius
         Assigned To: Eelco Hillenius
             Fix For: 1.3


Jan Bar wrote:

Hi,

in my opinion, the logic with isAssignableFrom should be the opposite one
(wicket 1.2.3):

Object convert(..) {
...
// buggy, should be the opposite
//else if (value != null && (!value.getClass().isAssignableFrom(c)))
else if (value != null && (!c.isAssignableFrom(value.getClass())))
...
}


-- 
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

        

Reply via email to