[
http://mifosforge.jira.com/browse/MIFOS-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=67052#comment-67052
]
Mifos Hudson Jira Plugin User commented on MIFOS-4894:
------------------------------------------------------
Integrated in !http://ci.mifos.org/hudson/images/16x16/blue.png!
[head-master-secondary
#338|http://ci.mifos.org/hudson/job/head-master-secondary/338/]
MIFOS-4894: ensure validation for amount and interest is correct for too
many digits before and after deciaml.
Keith Woodlock :
Files :
*
userInterface/src/main/java/org/mifos/clientportfolio/loan/ui/LoanAccountFormBean.java
> Inappropriate error messages on the 'Enter Loan account information' page
> (string conversion error)
> ---------------------------------------------------------------------------------------------------
>
> Key: MIFOS-4894
> URL: http://mifosforge.jira.com/browse/MIFOS-4894
> Project: mifos
> Issue Type: Bug
> Components: Loan Account
> Affects Versions: Release G - Iteration 3
> Reporter: Lukasz Chudy
> Assignee: keithwoodlock
> Fix For: Release G - Iteration 6, Release G
>
>
> There are some error messages which are not properly (string conversion
> error) displayed on 'Enter Loan account information' page
> 1. Set in properties file the follwing rules:
> AccountingRules.DigitsBeforeDecimalForInterest=10
> AccountingRules.DigitsAfterDecimalForInterest=5
> 2. Login to Mifos.
> 3. Find a client/group.
> 4. Click on "Open a new account:loan"
> 5. Select a loan product instance.
> 6. On the "Enter Loan Account Information" page,fill up the following details:
> Interest Rate = 999999999999.88888888 (system allows 10 and 5 digits
> respectively
> before and after decimal respectively)
> 6. Click "Continue".
> Expected result:
> Appropriate error messages are displayed.
> Actual result:
> The following error messages appear:
> "The Interest ratethe number of digits after the decimal separator exceeds
> the allowed number 5 is invalid because {2}"
> "The Interest ratethe number of digits before the decimal separator exceeds
> the allowed number 10 is invalid because {2}"
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues