Hi Sifiso,
The first problem you are reporting (the one you described on Skype with you
being able to see inconsistent data across tenants in the maker checker screen)
is a configuration issue your end, I haven’t looked at loan approval issues you
have encountered but it might also be an extension of the deployment problem.
The Mifos community app works in a multi tenant environment in three ways
1) By default, it tries to connect to a tenant named “default” on the target
Mifos platform
2) If the tenantIdentifier is passed in as a URL parameter, the community app
connects to this tenant . In your scenario
https://209.126.68.38/?tenantIdentifier=oakfin#
<https://209.126.68.38/?tenantIdentifier=oakfin#> would connect to the tenant
named “oakfin”
3) If you are using a subdomain of “openmf.org <http://openmf.org/>", the
community app tries to replace the tenantIdentifer with the subdomain. So
oakfin.openmf.org <http://demo.openmf.org/> would connect to “oakfin” tenant ,
randommfi.openmf.org <http://randommfi.openmf.org/> would connect to
“randonmfi” and so on. The setting of tenantIdentifier based on a subdomain is
done in initialTasks.js only for the “openmf.org <http://openmf.org/>” domain .
You were trying to create data on
https://209.126.68.38/?tenantIdentifier=oakfin#
<https://209.126.68.38/?tenantIdentifier=oakfin#> (which was creating the data
on a tenant “oakfin” ) and then view the same on https://oakfin.mifosx.net
<https://oakfin.mifosx.net/> (which connects to the “default" tenant) hence the
data incosistency . If you want https://oakfin.mifosx.net
<https://oakfin.mifosx.net/> to automatically connect to “oakfin” , you would
have to make this change in initialTasks.js
i.e replace
if (mainLink.hostname.indexOf(‘openmf.org') >= 0) {
with
if (mainLink.hostname.indexOf(‘mifosx.net') >= 0) {
You could also make a small modification to pick up the configurable domain
name from configurations.js instead of it being hardcoded in initialTasks.js so
you do not have to edit initialTasks.js file on every upgrade
Regards,
Vishwas
> On Apr 27, 2016, at 12:43 PM, Skyburg Systems <i...@skyburgsystems.org> wrote:
>
> Hi Adi,
>
> The issue with the data appearing across all tenants is valid for a
> multi-tenant environment with the default tenant database. So far I don’t see
> a default.openmf.org <http://default.openmf.org/> sub domain to test from.
> But with other users this issue is prevalent. It looks like something is
> being passed from the initialtasks.js file to default url. If your database
> environment does not have default you will not be able to test accurately.
>
> You’re right about the other problem. It seems the issue on the loan
> approvals has been around for a long time and we only just picked it up now.
>
> Looking forward to your response.
>
> Kind regards,
> Sifiso
>
> From: Adi Raju [mailto:adi.r...@confluxtechnologies.com]
> Sent: April 27, 2016 5:20 PM
> To: 'Mifos software development'; 'Subramanya S N'
> Subject: Re: [Mifos-developer] Version 16.04.01 api Issues: Cant view
> clients/loans
>
> Hi Sifiso,
>
> First off I want to allay the fears of data getting displayed across tenants.
> I have checked on the demo and staging servers on multiple clients and all
> look to be working fine.
>
> In the screens mentioned by you, I do not see any code changes from early
> 2015.
> This looks more of expectation mismatch or code not scaling up to current
> data size.
> Core team will verify and get back with actual issue.
>
> Regards,
> Adi
>
>
> From: Skyburg Systems [mailto:i...@skyburgsystems.org]
> Sent: 27 April 2016 18:50
> To: 'Subramanya S N' <subrama...@confluxtechnologies.com>
> Cc: 'Mifos software development' <mifos-develo...@lists.sourceforge.net>
> Subject: Re: [Mifos-developer] Version 16.04.01 api Issues: Cant view
> clients/loans
>
> Hi Subramanya
>
> And another thing is now everything that appears in the default tenant
> appears in every other tenant if you are using a multi-tenant setup. So if
> you log into tenant1.mifos.com for example it shows you data from
> default.mifos.com (i.e. when you are using mifos password on both tenants).
> Otherwise the other tenants will all not login because they are reflecting
> the default tenants data.
>
> Please advise as a matter of urgency.
>
> Kind regards
> Sifiso
>
> From: Skyburg Systems [mailto:i...@skyburgsystems.org
> <mailto:i...@skyburgsystems.org>]
> Sent: April 27, 2016 2:04 PM
> To: 'Subramanya S N'
> Cc: 'Mifos software development'; Mifos Users
> Subject: RE: [Mifos-developer] Version 16.04.01 api Issues: Cant view
> clients/loans
>
> Subramanya,
>
> Ok
> I have created one example on the demo.openmf.org as you advised. I have
> attached two screenshots. One of the loan account awaiting approval and the
> other of the tab in pending tasks for Loan Approval. And no new loans in
> version 16.04.01 are appearing under loan approval, or disbursement and
> client approval.
>
> The issue seems to be on the user interface. And data is not being called on
> certain screens.
>
> Kind regards,
> Sifiso
>
> From: Subramanya S N [mailto:subrama...@confluxtechnologies.com
> <mailto:subrama...@confluxtechnologies.com>]
> Sent: April 27, 2016 1:18 PM
> To: Mifos software development
> Cc: Mifos Users
> Subject: Re: [Mifos-developer] Version 16.04.01 api Issues: Cant view
> clients/loans
>
> Hi Sifio,
> Can you please explain the issue in detail. Can you reproduce the same in
> https://demo.openmf.org/ <https://demo.openmf.org/>.
>
> On Wed, Apr 27, 2016 at 3:05 PM, Skyburg Systems <i...@skyburgsystems.org
> <mailto:i...@skyburgsystems.org>> wrote:
> Hi guys,
>
> Noticed that if you create a client in 16.04.01 they don’t appear under loan
> approvals, and according to other partners it’s not a bug as such but an API
> issue. Especially if you are running on your own domain name, some of the
> REST apis are calling default domain instead of tenant.openmf.org
> <http://tenant.openmf.org/> for example. Just upgraded so really need your
> advice to this ‘quick-fix’.
>
> Kind regards,
> Sifiso
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> <https://ad.doubleclick.net/ddm/clk/302982198;130105516;z>
> Mifos-developer mailing list
> mifos-develo...@lists.sourceforge.net
> <mailto:mifos-develo...@lists.sourceforge.net>
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer
> <https://lists.sourceforge.net/lists/listinfo/mifos-developer>
>
>
>
> --
> Regards,
> Subramanya.
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;zMifos-developer
> mailing list
> mifos-develo...@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users