Hotfix 1.4.3 - Create multiple loan accounts prepopulated with decimal after 
loan amount when digitsAfterDecimal is set to 0 
-----------------------------------------------------------------------------------------------------------------------------

                 Key: MIFOS-2707
                 URL: http://mifosforge.jira.com/browse/MIFOS-2707
             Project: mifos
          Issue Type: Bug
          Components: Loan Account
    Affects Versions: Release 1.4.2
         Environment: Testing against latest 1.4.x build - revision 
branches/v1.4.x/applicat...@16675
            Reporter: jbrewster
            Assignee: Udai Gupta
             Fix For: Gazelle C



(Refer to related issue for single loan creation - 
http://mifosforge.jira.com/browse/MIFOS-2686)


When creating multiple loan accounts, if the configuration setting 
AccountingRules.DigitsAfterDecimal is set to 0, Mifos still populates the loan 
amount with a single decimal place. This means that when attempting to continue 
the loan application, mifos throws the two following error

# The Amount is invalid because the number of digits after the decimal 
separator exceeds the allowed number 0

REPRO:
Configure Mifos instance with AccountingRules.DigitsAfterDecimal=0
1. Navigate to Multiple Loan Accounts 
2. Create a loan account for one or more clients, click Submit for Approval.
3. Note that for the loan amount, it has added .0 (ie, 5000 = 5000.0)


EXPECTED:
Mifos does not throw an error and goes to the next page

ACTUAL:
Mifos throws the two errors 

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

        

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to