Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 44298 invoked from network); 20 Sep 2005 13:36:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Sep 2005 13:36:33 -0000 Received: (qmail 39869 invoked by uid 500); 20 Sep 2005 13:36:29 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 39799 invoked by uid 500); 20 Sep 2005 13:36:28 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 39785 invoked by uid 99); 20 Sep 2005 13:36:28 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 06:36:28 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id F10A3123; Tue, 20 Sep 2005 15:36:18 +0200 (CEST) From: bugzilla@apache.org To: dev@cocoon.apache.org Subject: DO NOT REPLY [Bug 36731] New: - [BUG+PATCH] FormattingDecimalConvertor.java does not parse in BigDecimal mode X-Bugzilla-Reason: AssignedTo Message-Id: <20050920133618.F10A3123@ajax.apache.org> Date: Tue, 20 Sep 2005 15:36:18 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=36731 Summary: [BUG+PATCH] FormattingDecimalConvertor.java does not parse in BigDecimal mode Product: Cocoon 2 Version: Current SVN 2.1 Platform: All OS/Version: other Status: NEW Severity: normal Priority: P2 Component: CocoonForms AssignedTo: dev@cocoon.apache.org ReportedBy: mattom@gmx.at This patch enables BigDecimal parsing in FormattingDecimalConvertor. Basically if you have a widget with datatype decimal and enter a very large number, something like 999999991999999999199999999919999999991 and submit the form you'll get someting like a rounded value in technical notation. same thing with datatype long, to be seen in the samples at http://cocoon.zones.apache.org/demos/release/samples/blocks/forms/form1 click NumberFields to change tab and enter 999999991999999999199999999919999999991 into "Enter another number, larger than the other number:" submit, then you get as value for the same field: 9,223,372,036,854,775,807 which is quite the same, though its no BigDecimal problem. at least some kind of validation error should occur... but a webapp changing user submitted values without a hint is a rather hot thing :-). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.