[
http://mifosforge.jira.com/browse/MIFOS-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jbrewster updated MIFOS-3049:
-----------------------------
Status: Verified (was: Resolved)
> ArrayIndexOutOfBoundsException doing MPesa Import with external ID
> ------------------------------------------------------------------
>
> Key: MIFOS-3049
> URL: http://mifosforge.jira.com/browse/MIFOS-3049
> Project: mifos
> Issue Type: Bug
> Components: ImportExport
> Affects Versions: Release 1.6.0
> Reporter: jbrewster
> Assignee: Udai Gupta
> Priority: Major
> Fix For: Release E - Iteration 1, Release E
>
> Attachments: example_importB.xls
>
>
> Import transaction of MPESA plugin gives an error
> "ArrayIndexOutOfBoundsException" when importing a file that has an external
> ID for the Transaction Party Details.
> Repro steps:
> 1. Have loan account with disbursed loan waiting for payment.
> 2. Copy external # from loan details, e.g. 123456790
> 3. Put loan id in Transaction Party Details (see attached spreadsheet)
> 4. with Mpesa plugin in place, try import.
> Actual Result:
> Get out of bounds exception:
> java.lang.ArrayIndexOutOfBoundsException: 1
> at ke.co.safaricom.MPesaXlsImporter.parse(MPesaXlsImporter.java:123)
> at
> org.mifos.application.importexport.struts.action.ImportTransactionsAc
> tion.upload(ImportTransactionsAction.java:104)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
> n.java:274)
> at
> org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:
> 194)
> Expected Result:
> Should throw an error message that account cannot be found if the number
> doesn't match a mifos ID and an account in the mifos system
--
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
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues