Terence Denzil Monteiro created FINERACT-650:
------------------------------------------------

             Summary: Templates with DataTables on multi-domain multi-tenant 
Setups call IP
                 Key: FINERACT-650
                 URL: https://issues.apache.org/jira/browse/FINERACT-650
             Project: Apache Fineract
          Issue Type: Bug
            Reporter: Terence Denzil Monteiro


Setup fineract with multiple tenants, each with a different domain sharing a 
common IP address using a front-end server like Nginx or Apache, with reverse 
proxy to Tomcat. Setup also a default server when no domain is called (plain IP 
address).

Create client / loan datatables and client / loan templates. The mapper shows 
as tenantIdentifier=default even for non-default tenants. Change it to the 
correct tenantId

Call the client / loan template and check the server logs.

An entry will be found in the log for the template of the tenant and another 
entry will be found in the log for the default server (with plain IP). This 
shows that in order to generate the template, fineract calls the mapper without 
using the correct domain with which the template was called. I have tested this 
directly calling the API using the curl command without web application or 
anything in between so its not an issue with Community App but with core 
Fineract.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to