[
https://issues.apache.org/jira/browse/FINERACT-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136662#comment-17136662
]
Petri Tuomola commented on FINERACT-1035:
-----------------------------------------
Here's the error from Chrome console when I do this against cui.fineract.dev:
/?baseApiUrl=https://demo.fineract.dev&tenantIdentifier=default#/addloandocument/8:1
Access to XMLHttpRequest at
'https://demo.fineract.dev/fineract-provider/api/v1/loans/8/documents' from
origin 'https://cui.fineract.dev' has been blocked by CORS policy: No
'Access-Control-Allow-Origin' header is present on the requested resource.
Interestingly when I try it on my own machine - either with java -jar bootRun
or when running in Eclipse - it works fine. Also if I use cui.fineract.dev
against my localhost fineract-provider. So the only way to reproduce this seems
to be against fineract-provider backend on demo.fineract.dev
[~vorburger] - how is demo.fineract.dev set up i.e. how is Fineract started
there? E.g. is it just running the fineract-provider.jar, or Docker image, or
deploying a WAR file on Tomcat, or...? Once I know the set-up I can try to
reproduce this locally...
> Facing error while uploading document in 'Load Documents Tab' in the loans
> module
> ---------------------------------------------------------------------------------
>
> Key: FINERACT-1035
> URL: https://issues.apache.org/jira/browse/FINERACT-1035
> Project: Apache Fineract
> Issue Type: Bug
> Components: Loan
> Affects Versions: 1.2.0
> Environment: OS: Fedora 32
> Reporter: Muskan Khedia
> Priority: Blocker
> Labels: patch
> Attachments: Screenshot from 2020-06-10 22-40-55.png
>
>
> Currently, I am using the *staging.mifos.io* server and while making a POST
> request to load documents in the loans account, I am receiving an Internal
> 500 Error.
> Steps to reproduce:
> 1. Open the link: [https://staging.mifos.io/#/viewloanaccount/25]
> 2. Click on the *Loan Documents Tab*
> 3. Click on the *Upload Button*
> 4. A form with the option to upload a document will appear, try uploading any
> document.
> I have also attached the screenshot of the error with the network console
> returning the 500 Internal Error.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)