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 86054200BBC for ; Sun, 13 Nov 2016 11:47:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 84D7B160AF2; Sun, 13 Nov 2016 10:47:00 +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 ED51F160B13 for ; Sun, 13 Nov 2016 11:46:59 +0100 (CET) Received: (qmail 37106 invoked by uid 500); 13 Nov 2016 10:46:59 -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 36908 invoked by uid 99); 13 Nov 2016 10:46:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Nov 2016 10:46:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B3FAD2C4C7D for ; Sun, 13 Nov 2016 10:46:58 +0000 (UTC) Date: Sun, 13 Nov 2016 10:46:58 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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 archived-at: Sun, 13 Nov 2016 10:47:00 -0000 [ https://issues.apache.org/jira/browse/WW-3650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-3650: ------------------------------ Fix Version/s: (was: 2.5.x) 2.5.7 > 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.7 > > 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.4#6332)