Converting string values to boolean ----------------------------------- Key: OGNL-48 URL: https://issues.apache.org/jira/browse/OGNL-48 Project: Commons OGNL Issue Type: Bug Reporter: Pål Oliver Kristiansen
Maybe I misunderstand how to use OGNL, but this seems a bit wierd to me (test case below) DefaultTypeConverter converter = new DefaultTypeConverter(); Object o = converter.convertValue(null, "false", Boolean.class); assertEquals(false, o); // fails. Object is Boolean == true -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira