« Return to Thread: [jira] Created: (WW-3171) "double" and "Double" are not validated with the same decimal séparator

[jira] Updated: (WW-3171) "double" and "Double" are not validated with the same decimal séparator

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


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

Musachy Barroso updated WW-3171:
--------------------------------

    Fix Version/s: 2.2.0

> "double" and "Double" are not validated with the same decimal séparator
> -----------------------------------------------------------------------
>
>                 Key: WW-3171
>                 URL: https://issues.apache.org/struts/browse/WW-3171
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.0.14
>         Environment: Windows or Linux - Running under Tomcat 6.0 - fr_FR
>            Reporter: françois-frédéric jean
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> I had this strange behaviour.
> I have two double in my Action (extends ActionSupport):
> ---------------------------
> private double dbl1;
> private Double dbl2;
> ---------------------------
> With there respective getters and setters.
> But, when I call the action with these two doubles (from a classical HTML form), I must put a "dot" for the double, and a "comma" for the Double as a decimal separator,
> I'm surprised by this behaviour .... Nothing particular was done (HTML form calling an action). I can't imagine what is the reason of this behaviour, so I raise it as a bug.
> Regards
> Francillo

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

 « Return to Thread: [jira] Created: (WW-3171) "double" and "Double" are not validated with the same decimal séparator