From issues-return-29993-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Thu May 18 13:30:11 2017 Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F9BE19F64 for ; Thu, 18 May 2017 13:30:11 +0000 (UTC) Received: (qmail 65457 invoked by uid 500); 18 May 2017 13:30:10 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 65401 invoked by uid 500); 18 May 2017 13:30:10 -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 65184 invoked by uid 99); 18 May 2017 13:30:10 -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 13:30:10 +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 42710182880 for ; Thu, 18 May 2017 13:30:10 +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-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id BWUuuWKtpyds for ; Thu, 18 May 2017 13:30:09 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1EDB561051 for ; Thu, 18 May 2017 13:30:08 +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 AEBFDE0DC5 for ; Thu, 18 May 2017 13:30:07 +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 7D12A263DC for ; Thu, 18 May 2017 13:30:05 +0000 (UTC) Date: Thu, 18 May 2017 13:30:05 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-3650) Double Value Conversion with requestLocale=de MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)