You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jörg Heinicke (JIRA)" <ji...@apache.org> on 2008/06/10 04:01:45 UTC
[jira] Updated: (COCOON-1606) [BUG+PATCH]
FormattingDecimalConvertor.java does not parse in BigDecimal mode
[ https://issues.apache.org/jira/browse/COCOON-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jörg Heinicke updated COCOON-1606:
----------------------------------
Status: Continued (was: On Hold)
No feedback, but issue shouldn't be on hold.
> [BUG+PATCH] FormattingDecimalConvertor.java does not parse in BigDecimal mode
> -----------------------------------------------------------------------------
>
> Key: COCOON-1606
> URL: https://issues.apache.org/jira/browse/COCOON-1606
> Project: Cocoon
> Issue Type: Bug
> Components: Blocks: Forms
> Affects Versions: 2.1.8
> Environment: Operating System: other
> Platform: All
> Reporter: Thomas Lutz
> Assignee: Cocoon Developers Team
> Attachments: FormattingDecimalConvertor.java.tar.gz
>
>
> 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 :-).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.