cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo (JIRA)" <>
Subject [jira] Updated: (COCOON-1606) [BUG+PATCH] does not parse in BigDecimal mode
Date Wed, 11 Oct 2006 05:18:21 GMT
     [ ]

Antonio Gallardo updated COCOON-1606:

Unfortunately, the cforms code should be compatible with java 1.3, the method decimalFormat.setParseBigDecimal(true)
was introduced in java .1.5.

Do you have another idea to fix this issue?

> [BUG+PATCH] does not parse in BigDecimal mode
> -----------------------------------------------------------------------------
>                 Key: COCOON-1606
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Forms
>    Affects Versions: 2.1.8
>         Environment: Operating System: other
> Platform: All
>            Reporter: Thomas Lutz
>         Assigned To: Cocoon Developers Team
>         Attachments:
> 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
> 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.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message