You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by PETER KIPROP <ki...@gmail.com> on 2023/10/25 06:28:55 UTC
ERROR WHILE CREATING LOAN PRODUCT
Hi team,
I am facing an error while creating / updating a Loan product as follows:
Updating Existing.
[image: image.png]
Creating a new
[image: image.png]
The logs from frontend are as follows
[image: image.png]
Any technical advice will be highly appreciated
Thank you.
Kind regards
Peter Kiprop
Nairobi - Kenya
Re: ERROR WHILE CREATING LOAN PRODUCT
Posted by PETER KIPROP <ki...@gmail.com>.
Hi,
Thank you for the guidance.
Fineract version 1.8.0
Community app version - Latest
On Tue, Oct 31, 2023 at 10:59 AM Peter Bagrij <pe...@dpc.hu> wrote:
> Hi,
>
> You can use GET on the actuator/info endpoint:
>
> https://<your fineract>/fineract-provider/actuator/info
>
> it should give back something like this:
>
> {
>> "git": {
>> "branch": "develop",
>> "commit": {
>> "time": "2023-10-24T14:00+0000",
>> "message": {
>> "full": "FINERACT-1955: Timezone handling of Savings
>> account\n",
>> "short": "FINERACT-1955: Timezone handling of Savings
>> account"
>> },
>> "id": {
>> "describe": "1.8.4-3.0-19-g71afd6d",
>> "abbrev": "71afd6d",
>> "full": "71afd6dead998d0b9ebdb44868ee76f710542a3d"
>> },
>> "user": {
>> "email": "marta.jankovics@dpc.hu",
>> "name": "jmarta"
>> }
>> },
>> "build": {
>> "version": "1.8.5-SNAPSHOT",
>> "user": {
>> "name": "",
>> "email": ""
>> },
>> "host": "ip-10-64-225-198.eu-central-1.compute.internal"
>> },
>> "dirty": "false",
>> "tags": "",
>> "total": {
>> "commit": {
>> "count": "7636"
>> }
>> },
>> "closest": {
>> "tag": {
>> "commit": {
>> "count": "19"
>> },
>> "name": "1.8.4-3.0"
>> }
>> },
>> "remote": {
>> "origin": {
>> "url": "git@github.com:openMF/fineract.git"
>> }
>> }
>> }
>> }
>>
>
>
> Regards, Peter
>
> On Tue, Oct 31, 2023 at 8:35 AM PETER KIPROP <ki...@gmail.com>
> wrote:
>
>> How can I check the fineract version?
>>
>> On Tue, Oct 31, 2023 at 8:17 AM VICTOR MANUEL ROMERO RODRIGUEZ <
>> victor.romero@fintecheando.mx> wrote:
>>
>>> Hello,
>>>
>>> Which version of Apache Fineract and Mifos Community App are you using?
>>>
>>> Regards
>>>
>>> Victor
>>>
>>> El lun, 30 oct 2023 a las 23:05, PETER KIPROP (<ki...@gmail.com>)
>>> escribió:
>>>
>>>> I found out that the issue came from the fact that the model in the
>>>> function below returns null, What are the possible possible parameters of
>>>> the model
>>>>
>>>> [image: image.png]
>>>>
>>>> On Thu, Oct 26, 2023 at 5:33 AM PETER KIPROP <ki...@gmail.com>
>>>> wrote:
>>>>
>>>>> Thank you; I managed to sort out the above. I am also getting the
>>>>> error below while applying the same loanproduct as below
>>>>> [image: image.png]
>>>>>
>>>>> I have traced the error to this line of code,
>>>>> scope.loandetails.productName = scope.formValue(scope.products,scope.
>>>>> formData.productId,'id','name');
>>>>>
>>>>> What could be the issue
>>>>> Thanks
>>>>> On Wed, Oct 25, 2023 at 3:10 PM Ádám Sághy <ad...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> It seems you are not providing the “transactionProcessingStrategyCode
>>>>>> ”.
>>>>>>
>>>>>> The below story it was slightly changed and instead of the “
>>>>>> transactionProcessingStrategyId”, you need to provide the code.
>>>>>>
>>>>>> *Example:*
>>>>>> - transactionProcessingStrategyCode: “mifos-standard-strategy"
>>>>>>
>>>>>> Fineract story: https://issues.apache.org/jira/browse/FINERACT-1783
>>>>>>
>>>>>> I hope it helps!
>>>>>>
>>>>>> Regards,
>>>>>> Adam
>>>>>>
>>>>>> On 25 Oct 2023, at 08:28, PETER KIPROP <ki...@gmail.com> wrote:
>>>>>>
>>>>>> Hi team,
>>>>>> I am facing an error while creating / updating a Loan product as
>>>>>> follows:
>>>>>>
>>>>>> Updating Existing.
>>>>>> <image.png>
>>>>>>
>>>>>> Creating a new
>>>>>> <image.png>
>>>>>>
>>>>>> The logs from frontend are as follows
>>>>>> <image.png>
>>>>>>
>>>>>> Any technical advice will be highly appreciated
>>>>>>
>>>>>> Thank you.
>>>>>> Kind regards
>>>>>> Peter Kiprop
>>>>>> Nairobi - Kenya
>>>>>>
>>>>>>
>>>>>>
Re: ERROR WHILE CREATING LOAN PRODUCT
Posted by Peter Bagrij <pe...@dpc.hu>.
Hi,
You can use GET on the actuator/info endpoint:
https://<your fineract>/fineract-provider/actuator/info
it should give back something like this:
{
> "git": {
> "branch": "develop",
> "commit": {
> "time": "2023-10-24T14:00+0000",
> "message": {
> "full": "FINERACT-1955: Timezone handling of Savings
> account\n",
> "short": "FINERACT-1955: Timezone handling of Savings
> account"
> },
> "id": {
> "describe": "1.8.4-3.0-19-g71afd6d",
> "abbrev": "71afd6d",
> "full": "71afd6dead998d0b9ebdb44868ee76f710542a3d"
> },
> "user": {
> "email": "marta.jankovics@dpc.hu",
> "name": "jmarta"
> }
> },
> "build": {
> "version": "1.8.5-SNAPSHOT",
> "user": {
> "name": "",
> "email": ""
> },
> "host": "ip-10-64-225-198.eu-central-1.compute.internal"
> },
> "dirty": "false",
> "tags": "",
> "total": {
> "commit": {
> "count": "7636"
> }
> },
> "closest": {
> "tag": {
> "commit": {
> "count": "19"
> },
> "name": "1.8.4-3.0"
> }
> },
> "remote": {
> "origin": {
> "url": "git@github.com:openMF/fineract.git"
> }
> }
> }
> }
>
Regards, Peter
On Tue, Oct 31, 2023 at 8:35 AM PETER KIPROP <ki...@gmail.com> wrote:
> How can I check the fineract version?
>
> On Tue, Oct 31, 2023 at 8:17 AM VICTOR MANUEL ROMERO RODRIGUEZ <
> victor.romero@fintecheando.mx> wrote:
>
>> Hello,
>>
>> Which version of Apache Fineract and Mifos Community App are you using?
>>
>> Regards
>>
>> Victor
>>
>> El lun, 30 oct 2023 a las 23:05, PETER KIPROP (<ki...@gmail.com>)
>> escribió:
>>
>>> I found out that the issue came from the fact that the model in the
>>> function below returns null, What are the possible possible parameters of
>>> the model
>>>
>>> [image: image.png]
>>>
>>> On Thu, Oct 26, 2023 at 5:33 AM PETER KIPROP <ki...@gmail.com>
>>> wrote:
>>>
>>>> Thank you; I managed to sort out the above. I am also getting the error
>>>> below while applying the same loanproduct as below
>>>> [image: image.png]
>>>>
>>>> I have traced the error to this line of code,
>>>> scope.loandetails.productName = scope.formValue(scope.products,scope.
>>>> formData.productId,'id','name');
>>>>
>>>> What could be the issue
>>>> Thanks
>>>> On Wed, Oct 25, 2023 at 3:10 PM Ádám Sághy <ad...@gmail.com> wrote:
>>>>
>>>>> It seems you are not providing the “transactionProcessingStrategyCode
>>>>> ”.
>>>>>
>>>>> The below story it was slightly changed and instead of the “
>>>>> transactionProcessingStrategyId”, you need to provide the code.
>>>>>
>>>>> *Example:*
>>>>> - transactionProcessingStrategyCode: “mifos-standard-strategy"
>>>>>
>>>>> Fineract story: https://issues.apache.org/jira/browse/FINERACT-1783
>>>>>
>>>>> I hope it helps!
>>>>>
>>>>> Regards,
>>>>> Adam
>>>>>
>>>>> On 25 Oct 2023, at 08:28, PETER KIPROP <ki...@gmail.com> wrote:
>>>>>
>>>>> Hi team,
>>>>> I am facing an error while creating / updating a Loan product as
>>>>> follows:
>>>>>
>>>>> Updating Existing.
>>>>> <image.png>
>>>>>
>>>>> Creating a new
>>>>> <image.png>
>>>>>
>>>>> The logs from frontend are as follows
>>>>> <image.png>
>>>>>
>>>>> Any technical advice will be highly appreciated
>>>>>
>>>>> Thank you.
>>>>> Kind regards
>>>>> Peter Kiprop
>>>>> Nairobi - Kenya
>>>>>
>>>>>
>>>>>
Re: ERROR WHILE CREATING LOAN PRODUCT
Posted by PETER KIPROP <ki...@gmail.com>.
How can I check the fineract version?
On Tue, Oct 31, 2023 at 8:17 AM VICTOR MANUEL ROMERO RODRIGUEZ <
victor.romero@fintecheando.mx> wrote:
> Hello,
>
> Which version of Apache Fineract and Mifos Community App are you using?
>
> Regards
>
> Victor
>
> El lun, 30 oct 2023 a las 23:05, PETER KIPROP (<ki...@gmail.com>)
> escribió:
>
>> I found out that the issue came from the fact that the model in the
>> function below returns null, What are the possible possible parameters of
>> the model
>>
>> [image: image.png]
>>
>> On Thu, Oct 26, 2023 at 5:33 AM PETER KIPROP <ki...@gmail.com>
>> wrote:
>>
>>> Thank you; I managed to sort out the above. I am also getting the error
>>> below while applying the same loanproduct as below
>>> [image: image.png]
>>>
>>> I have traced the error to this line of code,
>>> scope.loandetails.productName = scope.formValue(scope.products,scope.
>>> formData.productId,'id','name');
>>>
>>> What could be the issue
>>> Thanks
>>> On Wed, Oct 25, 2023 at 3:10 PM Ádám Sághy <ad...@gmail.com> wrote:
>>>
>>>> It seems you are not providing the “transactionProcessingStrategyCode”.
>>>>
>>>> The below story it was slightly changed and instead of the “
>>>> transactionProcessingStrategyId”, you need to provide the code.
>>>>
>>>> *Example:*
>>>> - transactionProcessingStrategyCode: “mifos-standard-strategy"
>>>>
>>>> Fineract story: https://issues.apache.org/jira/browse/FINERACT-1783
>>>>
>>>> I hope it helps!
>>>>
>>>> Regards,
>>>> Adam
>>>>
>>>> On 25 Oct 2023, at 08:28, PETER KIPROP <ki...@gmail.com> wrote:
>>>>
>>>> Hi team,
>>>> I am facing an error while creating / updating a Loan product as
>>>> follows:
>>>>
>>>> Updating Existing.
>>>> <image.png>
>>>>
>>>> Creating a new
>>>> <image.png>
>>>>
>>>> The logs from frontend are as follows
>>>> <image.png>
>>>>
>>>> Any technical advice will be highly appreciated
>>>>
>>>> Thank you.
>>>> Kind regards
>>>> Peter Kiprop
>>>> Nairobi - Kenya
>>>>
>>>>
>>>>
Re: ERROR WHILE CREATING LOAN PRODUCT
Posted by VICTOR MANUEL ROMERO RODRIGUEZ <vi...@fintecheando.mx>.
Hello,
Which version of Apache Fineract and Mifos Community App are you using?
Regards
Victor
El lun, 30 oct 2023 a las 23:05, PETER KIPROP (<ki...@gmail.com>)
escribió:
> I found out that the issue came from the fact that the model in the
> function below returns null, What are the possible possible parameters of
> the model
>
> [image: image.png]
>
> On Thu, Oct 26, 2023 at 5:33 AM PETER KIPROP <ki...@gmail.com>
> wrote:
>
>> Thank you; I managed to sort out the above. I am also getting the error
>> below while applying the same loanproduct as below
>> [image: image.png]
>>
>> I have traced the error to this line of code,
>> scope.loandetails.productName = scope.formValue(scope.products,scope.
>> formData.productId,'id','name');
>>
>> What could be the issue
>> Thanks
>> On Wed, Oct 25, 2023 at 3:10 PM Ádám Sághy <ad...@gmail.com> wrote:
>>
>>> It seems you are not providing the “transactionProcessingStrategyCode”.
>>>
>>> The below story it was slightly changed and instead of the “
>>> transactionProcessingStrategyId”, you need to provide the code.
>>>
>>> *Example:*
>>> - transactionProcessingStrategyCode: “mifos-standard-strategy"
>>>
>>> Fineract story: https://issues.apache.org/jira/browse/FINERACT-1783
>>>
>>> I hope it helps!
>>>
>>> Regards,
>>> Adam
>>>
>>> On 25 Oct 2023, at 08:28, PETER KIPROP <ki...@gmail.com> wrote:
>>>
>>> Hi team,
>>> I am facing an error while creating / updating a Loan product as follows:
>>>
>>> Updating Existing.
>>> <image.png>
>>>
>>> Creating a new
>>> <image.png>
>>>
>>> The logs from frontend are as follows
>>> <image.png>
>>>
>>> Any technical advice will be highly appreciated
>>>
>>> Thank you.
>>> Kind regards
>>> Peter Kiprop
>>> Nairobi - Kenya
>>>
>>>
>>>
Re: ERROR WHILE CREATING LOAN PRODUCT
Posted by PETER KIPROP <ki...@gmail.com>.
I found out that the issue came from the fact that the model in the
function below returns null, What are the possible possible parameters of
the model
[image: image.png]
On Thu, Oct 26, 2023 at 5:33 AM PETER KIPROP <ki...@gmail.com> wrote:
> Thank you; I managed to sort out the above. I am also getting the error
> below while applying the same loanproduct as below
> [image: image.png]
>
> I have traced the error to this line of code,
> scope.loandetails.productName = scope.formValue(scope.products,scope.
> formData.productId,'id','name');
>
> What could be the issue
> Thanks
> On Wed, Oct 25, 2023 at 3:10 PM Ádám Sághy <ad...@gmail.com> wrote:
>
>> It seems you are not providing the “transactionProcessingStrategyCode”.
>>
>> The below story it was slightly changed and instead of the “
>> transactionProcessingStrategyId”, you need to provide the code.
>>
>> *Example:*
>> - transactionProcessingStrategyCode: “mifos-standard-strategy"
>>
>> Fineract story: https://issues.apache.org/jira/browse/FINERACT-1783
>>
>> I hope it helps!
>>
>> Regards,
>> Adam
>>
>> On 25 Oct 2023, at 08:28, PETER KIPROP <ki...@gmail.com> wrote:
>>
>> Hi team,
>> I am facing an error while creating / updating a Loan product as follows:
>>
>> Updating Existing.
>> <image.png>
>>
>> Creating a new
>> <image.png>
>>
>> The logs from frontend are as follows
>> <image.png>
>>
>> Any technical advice will be highly appreciated
>>
>> Thank you.
>> Kind regards
>> Peter Kiprop
>> Nairobi - Kenya
>>
>>
>>
Re: ERROR WHILE CREATING LOAN PRODUCT
Posted by PETER KIPROP <ki...@gmail.com>.
Thank you; I managed to sort out the above. I am also getting the error
below while applying the same loanproduct as below
[image: image.png]
I have traced the error to this line of code,
scope.loandetails.productName = scope.formValue(scope.products,scope.
formData.productId,'id','name');
What could be the issue
Thanks
On Wed, Oct 25, 2023 at 3:10 PM Ádám Sághy <ad...@gmail.com> wrote:
> It seems you are not providing the “transactionProcessingStrategyCode”.
>
> The below story it was slightly changed and instead of the “
> transactionProcessingStrategyId”, you need to provide the code.
>
> *Example:*
> - transactionProcessingStrategyCode: “mifos-standard-strategy"
>
> Fineract story: https://issues.apache.org/jira/browse/FINERACT-1783
>
> I hope it helps!
>
> Regards,
> Adam
>
> On 25 Oct 2023, at 08:28, PETER KIPROP <ki...@gmail.com> wrote:
>
> Hi team,
> I am facing an error while creating / updating a Loan product as follows:
>
> Updating Existing.
> <image.png>
>
> Creating a new
> <image.png>
>
> The logs from frontend are as follows
> <image.png>
>
> Any technical advice will be highly appreciated
>
> Thank you.
> Kind regards
> Peter Kiprop
> Nairobi - Kenya
>
>
>
Re: ERROR WHILE CREATING LOAN PRODUCT
Posted by Ádám Sághy <ad...@gmail.com>.
It seems you are not providing the “transactionProcessingStrategyCode”.
The below story it was slightly changed and instead of the “transactionProcessingStrategyId”, you need to provide the code.
Example:
- transactionProcessingStrategyCode: “mifos-standard-strategy"
Fineract story: https://issues.apache.org/jira/browse/FINERACT-1783
I hope it helps!
Regards,
Adam
> On 25 Oct 2023, at 08:28, PETER KIPROP <ki...@gmail.com> wrote:
>
> Hi team,
> I am facing an error while creating / updating a Loan product as follows:
>
> Updating Existing.
> <image.png>
>
> Creating a new
> <image.png>
>
> The logs from frontend are as follows
> <image.png>
>
> Any technical advice will be highly appreciated
>
> Thank you.
> Kind regards
> Peter Kiprop
> Nairobi - Kenya