[ 
https://issues.apache.org/jira/browse/AXIS2-5395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650449#comment-13650449
 ] 

Hudson commented on AXIS2-5395:
-------------------------------

Integrated in axis2-1.6 #336 (See 
[https://builds.apache.org/job/axis2-1.6/336/])
    Merge 1343543 changes to branch, related JIRAs AXIS2-5395 , AXIS2-5331 
(Revision 1479245)

     Result = SUCCESS
shameera : 
Files : 
* /axis/axis2/java/core/branches/1_6
* 
/axis/axis2/java/core/branches/1_6/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
* 
/axis/axis2/java/core/branches/1_6/modules/adb/test/org/apache/axis2/databinding/utils/ConverterUtilTest.java
* /axis/axis2/java/core/branches/1_6/modules/saaj

                
> BigDecimal converted as double in ConverterUtil
> -----------------------------------------------
>
>                 Key: AXIS2-5395
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5395
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb, databinding
>    Affects Versions: 1.6.1, 1.6.2
>         Environment: All
>            Reporter: serenne
>            Priority: Minor
>             Fix For: 1.7.0, 1.6.3
>
>
> Big Decimal are treated as double in 
> org.apache.axis2.databinding.utils.converterUtil.java as no proto exists 
> taking a BigDecimal as argument.
> This leads to loosing precision in the value in the xml content. We noticed 
> that since more than one year (as we use 14 digits for some currency change) 
> so, we use our own patched version :
> in org.apache.axis2.databinding.utils.converterUtil.java add a new method :
>  public static String convertToString(BigDecimal o) {
>         return o.toPlainString();
>     }
> This solved the problem. Could be enough, but we have to patch again the 
> Converterutil class at each update to the latest version.... 
> So if something like that could be introduced in next versions ... could be 
> nice !

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to