Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The method getAsObject correctly returns BigDecimal if the destination type of the value expression is BigDecimal, but returns Long if the destination type is BigInteger. This normally does not lead to problems because it will be converted when applying values, but results in an exception when there is a validation annotation for the attribute to be converted, because Long cannot be assigned to BigInteger.
I have created a pull request: https://github.com/apache/myfaces/pull/60