[ 
https://issues.apache.org/jira/browse/MYFACES-4293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Andraschko resolved MYFACES-4293.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0-SNAPSHOT

> 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
>            Priority: Minor
>             Fix For: 3.0.0-SNAPSHOT
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to