openMF / community-app

This was the former default web application built on top of the Apache Fineract platform. It's now deprecated and replaced by the the Mifos X Web App (https://github.com/openMF/web-app maintained by the Mifos Initiative as a reference solution for financial inclusion. It is a Single-Page App (SPA) written in web standard technologies.
http://openmf.github.io/community-app/
Mozilla Public License 2.0
312 stars 1.02k forks source link

Unable to load Loan Approval and Loan Disbursal Data #2845

Open abhaychawla opened 6 years ago

abhaychawla commented 6 years ago

Description

While trying to access the data for Loan Approval and Loan Disbursal in Checker Inbox and Tasks, the server returns an error.

Steps to Reproduce

In the navigation bar present on the left, click Checker Inbox and Tasks -> Loan Approval/Loan Disbursal Data is not loaded.

Expected Behaviour

The data should be loaded for Loan Approval and Loan Disbursal.

Actual Behaviour

The data isn't being loaded for Loan Approval and Loan Disbursal.

Settings

Screenshots, if any

screenshot 214

mbj36 commented 6 years ago

GitMate.io thinks the contributor most likely able to help you is @mbj36.

abhaychawla commented 6 years ago

@mbj36 Is it an issue in the backend?

tanmayanand44 commented 6 years ago

@abhaychawla I think an null json object is being sent.

abhaychawla commented 6 years ago

@gkrishnan724 I have investigated further into this issue and it turns out that there is some problem with the limit parameter in the request, which is giving an internal server error on exceeding a particular threshold as well as when 0 or -1 is specified to retrieve all the data. Currently, 1000 limit is specified in the code which when reduced to 200 works fine. Has this issue been raised at the backend?

GET https://DomainName/fineract-provider/api/v1/loans

Shall I send a pull request and reduce the limit for this while this is resolved from the backend?