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
             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

        

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to