You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/05/18 13:30:04 UTC

[jira] [Commented] (WW-4581) BigDecimal are not converted according context locale

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

ASF subversion and git services commented on WW-4581:
-----------------------------------------------------

Commit f874f9cde56f74c5161b17e645f779805c51a04b in struts's branch refs/heads/master from [~lukaszlenart]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=f874f9c ]

WW-4581 Uses proper logic to convert String to BigDecimal


> BigDecimal are not converted according context locale
> -----------------------------------------------------
>
>                 Key: WW-4581
>                 URL: https://issues.apache.org/jira/browse/WW-4581
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.20
>         Environment: Glassfish 4.0, Java 7
>            Reporter: Arturo Imposimato
>             Fix For: 2.5.next
>
>
> Calling an action, it's impossible to assign a value like "123,45" to all properties which type is java.math.BigDecimal, even if context locale decimal separator is comma.
> Same string converted in a java.lang.Double works.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)