[
https://issues.apache.org/jira/browse/FINERACT-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676276#comment-16676276
]
ASF GitHub Bot commented on FINERACT-659:
-----------------------------------------
MexinaD commented on issue #489: FINERACT-659 Account Id issue while importing
loan transaction
URL: https://github.com/apache/fineract/pull/489#issuecomment-436154841
Hello @ShruthiRajaram
It seems you have handled during uploading the system to allow the Account
id with Long datatype so as to accommodate the big number.
But i have see other case where if the loan accounts have account
preferences the system don't allow to download since they are in a format like
"MFL000000021" which is not a number.
I think its better we solve this together.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Not able to import loan transactions
> ------------------------------------
>
> Key: FINERACT-659
> URL: https://issues.apache.org/jira/browse/FINERACT-659
> Project: Apache Fineract
> Issue Type: Bug
> Components: Loan
> Affects Versions: 1.1.0
> Reporter: Santosh Math
> Assignee: Shruthi M R
> Priority: Major
> Fix For: 1.2.0
>
>
> While trying to import the loan, throwing the following error:
> Exception in thread "SimpleAsyncTaskExecutor-258"
> java.lang.NumberFormatException: For input string: "1010000000001"
> at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:583)
> at java.lang.Integer.parseInt(Integer.java:615)
> at
> org.apache.fineract.infrastructure.bulkimport.importhandler.loanrepayment.LoanRepaymentImportHandler.readLoanRepayment(LoanRepaymentImportHandler.java:78)
> at
> org.apache.fineract.infrastructure.bulkimport.importhandler.loanrepayment.LoanRepaymentImportHandler.readExcelFile(LoanRepaymentImportHandler.java:70)
> at
> org.apache.fineract.infrastructure.bulkimport.importhandler.loanrepayment.LoanRepaymentImportHandler.process(LoanRepaymentImportHandler.java:60)
> at
> org.apache.fineract.infrastructure.bulkimport.service.BulkImportEventListener.onApplicationEvent(BulkImportEventListener.java:144)
> at
> org.apache.fineract.infrastructure.bulkimport.service.BulkImportEventListener.onApplicationEvent(BulkImportEventListener.java:48)
> at
> org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:93)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)