Oliver Sauder
-
2011-09-27
When only a map-set-method is configured resolving of the destination type is invalid. The sample below will have a destination of of String but it should be number. This leads to an exception.
Added a patch against trunk with a unit test reproducing the issue + the fix itself.
Sample:
<pre>
public void putNumber(String key, BigDecimal number) {
<field>
<a map-set-method="putNumber" key="numberA">this</a>
<b>field1</b>
</field>
</pre>