Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Trunk
-
None
-
None
Description
Create a new NumberConverter allowing conversion from java.lang.Integer to java.math.BigInteger.
JSON number value is parsed as Integer by default and in order to pass the value to a service attribute defined as BigInteger, conversion is necessary in order to avoid type mismatch error.
java.lang.ClassNotFoundException: No converter found for java.lang.Integer->java.math.BigInteger at org.apache.ofbiz.base.conversion.Converters.getConverter(Converters.java:119) ~[main/:?]