Hello Amit,

Great you got a fix, but a work-around as far as community is concern,

Would you please be so kind to initiate a respective ticket on this?

Regards
Sendoro

----- Original Message -----
From: "Amit Sharma" <amkrsha...@gmail.com>
To: "dev" <d...@fineract.apache.org>, "mifos-users" 
<mifos-users@lists.sourceforge.net>
Cc: "mifos-developer" <mifos-develo...@lists.sourceforge.net>
Sent: Sunday, March 18, 2018 12:02:35 PM
Subject: Re: [Mifos-developer] Existing Clients Not Appearing as Guarantors

Hi All,

I have been able to fix it at my end by updating ResourceFactoryProvider
with text in blue

 clientResource: defineResource(apiVer +
"/clients/:clientId/:anotherresource", {clientId: '@clientId',
anotherresource: '@anotherresource', sqlSearch: '@sqlSearch'}, {
                        getAllClients: {method: 'GET', params: {limit:
1000, sqlSearch: '@sqlSearch'}},
                        getAllClientsWithoutLimit: {method: 'GET',
params: {limit:
0}},


Thanks Robert and Team Conflux for the guidance and help. I suggest that we
take this up in the upcoming release.

Thanks & Regards,
Amit Sharma
Prashray Foundation for Micro Credit

On Sat, Mar 17, 2018 at 12:51 PM, Ed Cable <edca...@mifos.org> wrote:

> Amit,
>
> I'm adding this back onto the list so Nazeer and others can attempt to
> respond.
>
> Ed
>
> ---------- Forwarded message ----------
> From: Amit Sharma <amkrsha...@gmail.com>
> Date: Sat, Mar 17, 2018 at 12:10 AM
> Subject: Re: [Mifos-developer] Existing Clients Not Appearing as Guarantors
> To: Santosh Math <sant...@confluxtechnologies.com>, Sampath Kumar G <
> samp...@confluxtechnologies.com>, Ippez Robert <ippezrob...@gmail.com>,
> Ed Cable <edca...@mifos.org>
>
>
> Hi All,
>
> I looked into this further and am of the opinion that while fixing
> MIFOSX-2543 and community-app/issues/1868 ; while we removed the parameter
> limit=1000, we have now introduced a new bug in the system that restricts
> the count to 200 and because of this none of the clients after row count
> 200 are appearing as Guarantors to be added. Refer screenshots attached.
>
> Please assist in the way forward as all loan disbursements in our
> organization have stopped. We disburse collateral free individual loans on
> personal guarantees and this is a blocker for us.
>
>
>
>
>
> 
>
>
> Regards,
> Amit Sharma
> Prashray Foundation for Micro Credit
>
>
>
>
> On Fri, Mar 16, 2018 at 4:06 PM, Santosh Math <
> sant...@confluxtechnologies.com> wrote:
>
>> Adding +Robert.
>>
>> Hi Robert,
>>
>> Do you want to comment on this?
>>
>>
>> On Fri, Mar 16, 2018 at 3:20 PM, Amit Sharma <amkrsha...@gmail.com>
>> wrote:
>>
>>> Hi Santosh and Sampath,
>>>
>>> Found something with the hit and trial I am doing, looks like the cause
>>> of the problem, you are better placed to confirm.
>>>
>>> Our Database has 212 client records, clients upto 200 are popping up as
>>> existing clients that can be added as guarantor and the last 12 arent.
>>>
>>> I made the following API call : https://localhost/fineract-pro
>>> vider/api/v1/clients?tenantIdentifier=default&pretty=true
>>>
>>> While it shows 212 filtered records, it shows only the first 200 under
>>> the JSON. Attaching screenshots, could this be the problem.
>>>
>>>
>>>
>>> 
>>> Regards,
>>> Amit Sharma
>>>
>>> On Fri, Mar 16, 2018 at 1:46 PM, Amit Sharma <amkrsha...@gmail.com>
>>> wrote:
>>>
>>>> Hi Santosh,
>>>>
>>>> Thanks for looking into this. We dont run the application through code
>>>> base. We're naive MFI folks :)
>>>>
>>>> We run the MIFOS application through the WAR file and have deployed the
>>>> application using following instructions :
>>>> https://mifosforge.jira.com/wiki/spaces/docs/pages/53215236/
>>>> Mifos+X+Installation+on+Windows
>>>>
>>>> Also the application has been running fine for the last 7-8 months, we
>>>> were able to add existing clients as guarantors in usual course, we can
>>>> still add older clients as guarantors, strangely only any new clients
>>>> created after 24-Feb cant be added as Guarantor. I am also sharing a
>>>> snippet of the API call,  refer highlighted in yellow, it throws no error
>>>> nor does it have parameter, Limit:1000 as a member on community suggested
>>>> to be the issue.
>>>>
>>>>
>>>> 
>>>> Please suggest further.
>>>>
>>>> Regards,
>>>> Amit Sharma
>>>>
>>>> On Fri, Mar 16, 2018 at 12:35 PM, Santosh Math <
>>>> sant...@confluxtechnologies.com> wrote:
>>>>
>>>>> Hi Amit,
>>>>>
>>>>> Please ensure that you fetched the  latest code for backend from:
>>>>>
>>>>> https://github.com/apache/fineract or
>>>>>
>>>>> https://github.com/openMF/incubator-fineract/tree/mifosplatf
>>>>> orm-17.07.01.RELEASE
>>>>>
>>>>> & Front end,
>>>>>
>>>>> https://github.com/openMF/community-app/tree/mifosplatform-1
>>>>> 7.07.01.RELEASE
>>>>>
>>>>> Make sure both  codes are same in dev and production (live )
>>>>> environment.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Mar 16, 2018 at 12:23 PM, Amit Sharma <amkrsha...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Santosh and Sampath,
>>>>>>
>>>>>> Did you get a chance to look into it. In case you feel that this
>>>>>> query should be directed somewhere else, please lead me in that 
>>>>>> direction.
>>>>>>
>>>>>> Regards,
>>>>>> Amit Sharma
>>>>>>
>>>>>> On Thu, Mar 15, 2018 at 11:53 AM, Amit Sharma <amkrsha...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Santosh and Sampath,
>>>>>>>
>>>>>>> I have been trying to respond to the thread but my messages didnt
>>>>>>> flow through so dropping you an email.
>>>>>>>
>>>>>>> I tried reproducing the issue on staging environment using users
>>>>>>> Amit Sharma & Aadee Sharma but its working fine there. Even in our MFI 
>>>>>>> we
>>>>>>> have both Live Production and Dev environment, its just cracking in 
>>>>>>> Prod,
>>>>>>> works fine in Dev environment.
>>>>>>>
>>>>>>> While trying to fix, I have rebuilt the App server couple of times
>>>>>>> from scratch leaving the DB server intact but the problem persists.
>>>>>>>
>>>>>>> All work at our MFI is stalled and we're unable to disburse fresh
>>>>>>> loans, it'll be great if you can spend sometime on this today.
>>>>>>>
>>>>>>> If it works I can share the log files as well or instead we can
>>>>>>> connect over a skype call. Let me know what works out best for you.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Amit Sharma
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Mar 14, 2018 at 11:23 AM, Santosh Math <
>>>>>>> sant...@confluxtechnologies.com> wrote:
>>>>>>>
>>>>>>>> Hi  Amit,
>>>>>>>>
>>>>>>>> I am not able to reproduce the issue. It would be helpful if you
>>>>>>>> could
>>>>>>>> reproduce the same here:
>>>>>>>>
>>>>>>>> https://staging.openmf.org
>>>>>>>>
>>>>>>>> (mifos/password)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Mar 13, 2018 at 8:13 PM, Amit Sharma <amkrsha...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> >  Hi All,
>>>>>>>> >
>>>>>>>> > Re-opening this thread as we have recently again started
>>>>>>>> encountering this
>>>>>>>> > issue. We're on MIFOS release version 17.07.01 release.
>>>>>>>> > I was going through and realized JIRA list and realized that this
>>>>>>>> has been
>>>>>>>> > fixed already under https://mifosforge.jira.com/br
>>>>>>>> owse/MIFOSX-2543 and
>>>>>>>> > https://github.com/openMF/community-app/issues/1868 , but
>>>>>>>> somehow we have
>>>>>>>> > recently started encountering this issue again.
>>>>>>>> > None of our client beyond id#355 are getting fetched as existing
>>>>>>>> client to
>>>>>>>> > be marked as guarantors.
>>>>>>>> >
>>>>>>>> > Please look into and suggest.
>>>>>>>> >
>>>>>>>> > Regards,
>>>>>>>> > Amit Sharma
>>>>>>>> > Prashray Foundation for Micro Credit
>>>>>>>> >
>>>>>>>> >
>>>>>>>> > On Thu, Sep 29, 2016 at 3:29 PM, Zayyad A. Said <
>>>>>>>> > zay...@intrasofttechnologies.com> wrote:
>>>>>>>> >
>>>>>>>> > > Yes, this issue doesn’t show on demo server probably because
>>>>>>>> demo server
>>>>>>>> > > isn’t busy.
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > > It looks like case by case basis, some clients are being
>>>>>>>> displayed some
>>>>>>>> > > are not.
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > > Shreeyank was able to reproduce the issue on our test
>>>>>>>> environment.
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > > Kindly look into it and advise, our clients cant proceed to
>>>>>>>> approve loans
>>>>>>>> > > since they need to hold funds for guarantors.
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > > Regards;
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > > *********
>>>>>>>> > >
>>>>>>>> > > *Zayyad A. Said | Chairman & C.E.O*
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > > Cell No.: +254 716 615274 <+254%20716%20615274> | Skype:
>>>>>>>> *zsaid2011*
>>>>>>>> > >
>>>>>>>> > > Email: zay...@intrasofttechnologies.com
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > > [image: Email banner]
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > > *From:* Ippez Robert [mailto:ippezrob...@gmail.com]
>>>>>>>> > > *Sent:* 29 September 2016 12:25
>>>>>>>> > > *To:* Mifos Developer
>>>>>>>> > > *Cc:* d...@fineract.incubator.apache.org; mifos-developer@lists.
>>>>>>>> > > sourceforge.net; zay...@intrasofttechnologies.com
>>>>>>>> > > *Subject:* Re: [Mifos-developer] Existing Clients Not Appearing
>>>>>>>> as
>>>>>>>> > > Guarantors
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > >
>>>>>>>> > > I was having the same issue. i raised a Jira ticket
>>>>>>>> > > https://mifosforge.jira.com/browse/MIFOSX-2543 in Feb and the
>>>>>>>> status has
>>>>>>>> > > been closed but it still persisted.
>>>>>>>> > >
>>>>>>>> > > It would be better if this could be fixed.
>>>>>>>> > >
>>>>>>>> > > Thanks
>>>>>>>> > > Regards
>>>>>>>> > > Ippez Robert
>>>>>>>> > >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> > --
>>>>>>>> > stay beautiful,
>>>>>>>> > Amit Sharma
>>>>>>>> >
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks & Regards
>>>>>>>>
>>>>>>>> Santosh Math
>>>>>>>>
>>>>>>>> *QA Engineer*
>>>>>>>>
>>>>>>>> *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/
>>>>>>>> >*
>>>>>>>> | *Office*: +91-080-41208662 |
>>>>>>>>
>>>>>>>> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block,
>>>>>>>> Bengaluru, Karnataka, 560043 INDIA
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> stay beautiful,
>>>>>>> Amit Sharma
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> stay beautiful,
>>>>>> Amit Sharma
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks & Regards
>>>>>
>>>>> Santosh Math
>>>>>
>>>>> *QA Engineer*
>>>>>
>>>>> *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>*
>>>>> | *Office*: +91-080-41208662 <+91%2080%204120%208662> |
>>>>>
>>>>> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block,
>>>>> Bengaluru, Karnataka, 560043 INDIA
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> stay beautiful,
>>>> Amit Sharma
>>>>
>>>
>>>
>>>
>>> --
>>> stay beautiful,
>>> Amit Sharma
>>>
>>
>>
>>
>> --
>> Thanks & Regards
>>
>> Santosh Math
>>
>> *QA Engineer*
>>
>> *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/>*
>> | *Office*: +91-080-41208662 <+91%2080%204120%208662> |
>>
>> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st Block,
>> Bengaluru, Karnataka, 560043 INDIA
>>
>
>
>
> --
> stay beautiful,
> Amit Sharma
>
>
>
> --
> *Ed Cable*
> President/CEO, Mifos Initiative
> edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
> <+1%20484-477-8649>
>
> *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
> <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
>
>


-- 
stay beautiful,
Amit Sharma

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mifos-users mailing list
Mifos-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to