[
http://mifosforge.jira.com/browse/MIFOS-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jbrewster updated MIFOS-2675:
-----------------------------
Labels: fee multicurrency currency_denominated_loan_products acceptancetest
(was: fee multicurrency currency_denominated_loan_products)
> Defining a new client fee causes error "Currency must not be null"
> ------------------------------------------------------------------
>
> Key: MIFOS-2675
> URL: http://mifosforge.jira.com/browse/MIFOS-2675
> Project: mifos
> Issue Type: Bug
> Components: Fee
> Reporter: Keith Pierce
> Assignee: Udai Gupta
> Priority: Blocker
> Fix For: Gazelle C
>
>
> When attempting to define a new fee, Mifos displays the error "Currency must
> not be null". This blocks testing of all testing of fees from the GUI.
> To replicate the problem:
> 1. Use HEAD revision of Mifos (as of the date of this issue).
> 2. Log in as mifos.
> 3. admin > define new fees
> 4. Enter data for a client fee, press "preview"
> 5. Press "submit"
> 6. Observe exception:
> SEVERE: Servlet.service() for servlet Controller threw exception
> java.lang.NullPointerException: Currency must not be null
> at
> org.mifos.framework.util.helpers.Money.checkCurrencyNotNull(Money.java:271)
> at org.mifos.framework.util.helpers.Money.<init>(Money.java:90)
> at org.mifos.framework.util.helpers.Money.<init>(Money.java:86)
> at
> org.mifos.application.fees.struts.action.FeeAction.createOneTimeFee(FeeAction.java:291)
> at
> org.mifos.application.fees.struts.action.FeeAction.createFee(FeeAction.java:269)
> at
> org.mifos.application.fees.struts.action.FeeAction.create(FeeAction.java:138)
> ...
> This blocks any attempt to create a new client fee for testing.
> Preliminary analysis:
> 1. Revision 16459 modified feesCreate.jsp so that the user no longer can pick
> a currency for the fee unless multicurrency is enabled. Apparently it is not
> by default. This causes the GUI to send a null value for the fee's currency
> to the application (FeeAction.java) which raises the exception.
> 2. Mifos roadmap for Currency Denominated Loan Products
> (http://www.mifos.org/knowledge/functional-specifications/account-creation/currency-denominated-loan-products/?searchterm=multicurrency)
> states that multi-currency will not be supported for client fees, but only
> loan fees. But it appears that this jsp page will allow the user to select
> another currency for client fees if multi-currency is enabled.
--
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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues