Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 11BBE200C78 for ; Thu, 18 May 2017 16:25:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 103A3160BC4; Thu, 18 May 2017 14:25:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 53A27160BB0 for ; Thu, 18 May 2017 16:25:09 +0200 (CEST) Received: (qmail 17212 invoked by uid 500); 18 May 2017 14:25:08 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 17061 invoked by uid 99); 18 May 2017 14:25:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2017 14:25:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E6E0C1800B9 for ; Thu, 18 May 2017 14:25:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id jGfYmu4rNk5s for ; Thu, 18 May 2017 14:25:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 3A2825F3DA for ; Thu, 18 May 2017 14:25:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7BDBDE0BDF for ; Thu, 18 May 2017 14:25:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 33C17263A7 for ; Thu, 18 May 2017 14:25:04 +0000 (UTC) Date: Thu, 18 May 2017 14:25:04 +0000 (UTC) From: "Hudson (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Commented]_(WW-3171)_"double"_and_"Double"?= =?utf-8?Q?_are_not_validated_with_the_same_decimal_s=C3=A9parator?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 18 May 2017 14:25:10 -0000 [ https://issues.apache.org/jira/browse/WW-3171?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1601582= 5#comment-16015825 ]=20 Hudson commented on WW-3171: ---------------------------- SUCCESS: Integrated in Jenkins build Struts-JDK7-master #633 (See [https://= builds.apache.org/job/Struts-JDK7-master/633/]) WW-3171 Converts numbers to strings using locale (lukaszlenart: rev 20eced9= 5008a9e08a20a59f287115ede00268897) * (edit) core/src/main/java/com/opensymphony/xwork2/conversion/impl/StringC= onverter.java WW-3171 Uses proper number of digits when formatting double (lukaszlenart: = rev 229afea64e77c2dba9eec62b2c339e9fc92c9ec7) * (edit) core/src/test/resources/org/apache/struts2/views/jsp/ui/Select-3.t= xt * (edit) core/src/test/java/com/opensymphony/xwork2/validator/DoubleRangeFi= eldValidatorTest.java * (edit) core/src/main/java/com/opensymphony/xwork2/conversion/impl/StringC= onverter.java * (add) core/src/test/java/com/opensymphony/xwork2/conversion/impl/StringCo= nverterTest.java > "double" and "Double" are not validated with the same decimal s=C3=A9para= tor > ----------------------------------------------------------------------- > > Key: WW-3171 > URL: https://issues.apache.org/jira/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=C3=A7ois-fr=C3=A9d=C3=A9ric jean > Assignee: Lukasz Lenart > Priority: Critical > Fix For: 2.5.next > > > 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,=20 > I'm surprised by this behaviour .... Nothing particular was done (HTML fo= rm 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 was sent by Atlassian JIRA (v6.3.15#6346)