You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Prajwal S Belagavi (Jira)" <ji...@apache.org> on 2020/03/10 16:48:00 UTC

[jira] [Comment Edited] (FINCN-206) Unlimited entries are being created while swiping down the list of loan accounts

    [ https://issues.apache.org/jira/browse/FINCN-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056088#comment-17056088 ] 

Prajwal S Belagavi edited comment on FINCN-206 at 3/10/20, 4:47 PM:
--------------------------------------------------------------------

[~dgstar] this error is occuring because "fetchCustomerLoanAccounts" method is called whenever new items are added into recyclerview and this results in a loop and whenever it's scrolled, "fetchCustomerLoanAccounts" is called again.

This probably occurs because "fetchCustomerLoanAccounts" always gives an output from the "loanAccountPage.json" file since network request is failing.

However, in actual scenario, the "fetchCustomerLoanAccounts" would not provide data if there is no more LoanAccounts to load.

I'll also try to work on this issue!


was (Author: prajwal27):
[~dgstar] this error is occuring because "fetchCustomerLoanAccounts" method is called whenever new items are added into recyclerview and this results in a loop and whenever it's scrolled, "fetchCustomerLoanAccounts" is called again.

This probably occurs because "fetchCustomerLoanAccounts" always gives an output from the "loanAccountPage.json" file since network request is failing.

However, in actual scenario, the "fetchCustomerLoanAccounts" would not provide data if there is no more LoanAccounts to load.

> Unlimited entries are being created while swiping down the list of loan accounts
> --------------------------------------------------------------------------------
>
>                 Key: FINCN-206
>                 URL: https://issues.apache.org/jira/browse/FINCN-206
>             Project: Fineract Cloud Native
>          Issue Type: Bug
>          Components: fineract-cn-customer
>         Environment: Panasonic P91
> Android 7
>            Reporter: Garvit Agarwal
>            Priority: Major
>
> Unlimited loan entries are being created under loan accounts.
> Steps to reproduce.
> open customer
> Click on the given name
> then loan accounts
> swipe the list



--
This message was sent by Atlassian Jira
(v8.3.4#803005)