What version of the MyBatis are you using? 3.0.2
When trying to access the property "value" on an object without a getValue()
method the error message does not include the name of the missing property
The message is,
There is no getter for property named '' in 'class x.y.Z'
The message should be,
There is no getter for property named 'value' in 'class x.y.Z'
::DETAILS
I get this message,
There is no getter for property named '' in 'class x.y.Z'
when I use this OGNL expression with the "value" property missing from
the bean,
<foreach item="i" collection="subjectAreas" open="(" separator="," close=")">#{i.value}</foreach>
When I add the property to the bean the exception is correctly not thrown.
The bug is that the exception message fails to include the missing property
name.
Original issue reported on code.google.com by jane...@gmail.com on 8 Oct 2010 at 1:36
Original issue reported on code.google.com by
jane...@gmail.com
on 8 Oct 2010 at 1:36