[
http://mifosforge.jira.com/browse/MIFOS-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56777#action_56777
]
Udai Gupta commented on MIFOS-2669:
-----------------------------------
correction:
>Double to String conversion wasn't using conversion based on decimalAfterDigit.
Double to String conversion wasn't using conversion based on digitAfterDecimal.
> validator.xml uses hardcoded (10,3) value as format for max range validation
> ----------------------------------------------------------------------------
>
> Key: MIFOS-2669
> URL: http://mifosforge.jira.com/browse/MIFOS-2669
> Project: mifos
> Issue Type: Improvement
> Components: Configuration
> Affects Versions: Release 1.4
> Environment: All
> Reporter: Udai Gupta
> Assignee: Udai Gupta
> Fix For: Gazelle C
>
>
> Sturts validation configuration (validator.xml) has Pluggable Validators
> (1)decimalFormat and (2)decimalFormatCollection.
> Definition of these two validators are defined in validation-rules.xml
> A variable "format = (10,3)" is being passed in these validators which is
> hardcoded range of a decimal number.
> We should not pass hardcoded (10,3) for DecimalFormatValidator and
> DecimalFormatValidatorCollection
> DecimalFieldHelper should use AccountingRules.DigitBeforeDecimal and
> AccountingRules.DigitAfterDecimal for validation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues