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

Bulk Import issue #3311

Closed bharathcgowda closed 3 years ago

bharathcgowda commented 3 years ago

The bulk import client from bulk import feature is not working.- throwing 500 internal server Error.

Tested on Fineract.dev instance, which is working as expected, whereas on the dev.mifos.io instance it is not.

Steps to reproduce,

  1. go to admin->organization->bulk import 2.select client and download the client template for import(parameters for download: office: head office, Legal form: person, staff: any staff) 3.fill in the template and upload the same. 4.system will show the below-attached screenshot and error

{"timestamp":1601373977607,"status":500,"error":"Internal Server Error","message":"java.nio.file.AccessDeniedException: /opt/bitnami/tomcat/temp/MIME3715989654103796473.tmp","path":"/fineract-provider/api/v1/clients/uploadtemplate"}

image

You can also refer the import file which I used to reproduce the issue CLIENTS_PERSON2020-09-29.zip

spider0061 commented 3 years ago

@BLasan can you have a look at it?

BLasan commented 3 years ago

@BLasan can you have a look at it?

Sure :+1:

BLasan commented 3 years ago

@spider0061 Is this a valid endpoint? I checked the doc under clients APIs. But didn't find an API

BLasan commented 3 years ago

@bharathcgowda Fill the necessary details in the xl sheet. It would work fine. Try the below file. It worked for me!

CLIENTS_PERSON2020-11-09.xlsx

BLasan commented 3 years ago

Also there's an error with Entity type as when the file is going to be downloaded it will be saved as 'ENTTTTY'. Not 'ENTITY'. So cannot upload this type of files. Type will be assigned as null for those types of files @bharathcgowda

bharathcgowda commented 3 years ago

@BLasan I tested on the latest instance and it is working as expected. I guess the issue is with the dev.mifos.io instance only. I am closing this ticket as I am able to successfully create bulk clients

sujanpgowda commented 2 years ago

Could you please share Any update on this @bharathcgowda facing this same issue. Thank you.