Tobias Rettstadt created MYFACES-4293:
-----------------------------------------
Summary: NumberConverter.getAsObject returns Long values for
BigInteger attributes
Key: MYFACES-4293
URL: https://issues.apache.org/jira/browse/MYFACES-4293
Project: MyFaces Core
Issue Type: Bug
Reporter: Tobias Rettstadt
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 will create a pull request shortly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)