Create multiple loan accounts prepopulated with decimal after loan amount when
digitsAfterDecimal is set to 0
--------------------------------------------------------------------------------------------------------------
Key: MIFOS-2698
URL: http://mifosforge.jira.com/browse/MIFOS-2698
Project: mifos
Issue Type: Bug
Components: Loan Account
Environment: Testing against latest 1.4.x build - revision
branches/v1.4.x/applicat...@16675
Reporter: jbrewster
Fix For: Release 1.4.2
(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
------------------------------------------------------------------------------
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