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 5AD47200CED for ; Fri, 4 Aug 2017 04:51:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 581C616C377; Fri, 4 Aug 2017 02:51:04 +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 A6B5916710C for ; Fri, 4 Aug 2017 04:51:03 +0200 (CEST) Received: (qmail 71902 invoked by uid 500); 4 Aug 2017 02:51:02 -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 71892 invoked by uid 99); 4 Aug 2017 02:51:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2017 02:51:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5FC22C040D for ; Fri, 4 Aug 2017 02:51:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 62trMLu6hr3P for ; Fri, 4 Aug 2017 02:51:01 +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 300415F5B3 for ; Fri, 4 Aug 2017 02:51:01 +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 78646E01E5 for ; Fri, 4 Aug 2017 02:51:00 +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 2EFC32464D for ; Fri, 4 Aug 2017 02:51:00 +0000 (UTC) Date: Fri, 4 Aug 2017 02:51:00 +0000 (UTC) From: "Mitth'raw'nuruodo (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: Fri, 04 Aug 2017 02:51:04 -0000 [ https://issues.apache.org/jira/browse/WW-3171?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1611384= 6#comment-16113846 ]=20 Mitth'raw'nuruodo commented on WW-3171: --------------------------------------- It's a bit unfortunate that this was bundled with 2.5.12, which included im= portant security fixes, despite being recognised as a potentially breaking = change. A 2.5.10.2 release with just the security fixes would have been nic= e. > "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.12 > > > 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.4.14#64029)