Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 330979F00 for ; Wed, 7 Mar 2012 00:58:22 +0000 (UTC) Received: (qmail 65289 invoked by uid 500); 7 Mar 2012 00:58:20 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 65074 invoked by uid 500); 7 Mar 2012 00:58:20 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 64872 invoked by uid 99); 7 Mar 2012 00:58:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 00:58:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 00:58:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D567DBF87 for ; Wed, 7 Mar 2012 00:57:57 +0000 (UTC) Date: Wed, 7 Mar 2012 00:57:57 +0000 (UTC) From: "Yee-Wah Lee (Created) (JIRA)" To: dev@myfaces.apache.org Message-ID: <248713216.30872.1331081877875.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (TRINIDAD-2237) Client IntegerValidator inconsistent with server for whole numbers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Client IntegerValidator inconsistent with server for whole numbers ------------------------------------------------------------------ Key: TRINIDAD-2237 URL: https://issues.apache.org/jira/browse/TRINIDAD-2237 Project: MyFaces Trinidad Issue Type: Bug Components: Components Affects Versions: 2.0.1-core Reporter: Yee-Wah Lee Priority: Minor The default number converters for Integer, Double call this method, _decimalParse() which does: result = parseInt(numberString); parseInt tries to handle octal strings (starting with 0), so it will accept "07" but not "08" or "09". If client validation is disabled (so it runs on the server), the IntegerConverter will accept 08, 09 as decimal strings. parseInt should be called with 10 as the second argument to indicate base-10, thus being consistent with the server. https://bugzilla.mozilla.org/show_bug.cgi?id=43425 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira