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:05 UTC

[jira] [Commented] (WW-3650) Double Value Conversion with requestLocale=de

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

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

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

WW-3171 WW-3650 WW-4581 makes number converters locale aware


> Double Value Conversion with requestLocale=de
> ---------------------------------------------
>
>                 Key: WW-3650
>                 URL: https://issues.apache.org/jira/browse/WW-3650
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors, Plugin - Tags
>    Affects Versions: 2.2.3
>         Environment: Tomcat 6/7, Windows 7
>            Reporter: Tim Dellas
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.5.next
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> When using the german locale, s:textbox (and supposedly also other tags) don't use localization for Double values. Effect: in a form that prints a double value to a s:textfield with value="doubleVarName", the double value of 1.0 is printed out while it should be 1,0 with german locale. If the same form is sent to an action, the params interceptor interprets the 1.0 somehow differently and stores 10.0 in the double field "doubleVarName".
> I don't find another hack for me other than forcing english locale, which is okay for my app but might not be okay for other developers. (My first bugreport, hope it's fine)



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