You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Emmanuel Njoku <ei...@gmail.com> on 2020/12/30 12:07:05 UTC

SYSTEM BUG ON CLIENT CREATION

Dear team,

After cloning [fineract] branch develop and deployed on the Apache Tomcat
9. I am unable to create a client using
{
  "officeId": 1,
  "fullname": "EMMANUEL",
  "mobileNo": "91530907963",
  "externalId": "AA107894",
  "dateFormat": "dd MMMM yyyy",
  "locale": "en",
  "active": true,
  "activationDate": "21 December 2020",
  "submittedOnDate":"21 December 2020",
  "address":[
    {
        "addressTypeId": 1,
        "isActive": true,
        "street": "JEMTOK STREET",
        "stateProvinceId": 20,
        "countryId": 18
    }],
    "accountNo":"R0104662",
    "genderId":"15",
    "savingsProductId": 1,
    "emailAddress" : "emma@gmail.com",
   "dateOfBirth" : "17 March 1989"
}

The error message is :
{
    "developerMessage":
"The request was invalid. This typically will happen due to validation
errors which are provided."
,
    "httpStatusCode": "400",
    "defaultUserMessage": "Validation errors exist.",
    "userMessageGlobalisationCode": "validation.msg.validation.errors.exist"
,
    "errors": [
        {
            "developerMessage": "The parameter street is not supported.",
            "defaultUserMessage": "The parameter street is not supported.",
            "userMessageGlobalisationCode":
"error.msg.parameter.unsupported",
            "parameterName": "street",
            "value": null,
            "args": [
                {
                    "value": "street"
                }
            ]
        }
    ]
}

Re: SYSTEM BUG ON CLIENT CREATION

Posted by Petri Tuomola <pe...@tuomola.org>.
Hi Emmanuel

There was a PR in June (https://github.com/apache/fineract/pull/1120 <https://github.com/apache/fineract/pull/1120>) which removed the “street” field from the Address API. 

My understanding is that the address details should be passed in fields “addressLine1”, “addressLine2”, “addressLine3” instead

Hope this helps

Regards
Petri

> On 30 Dec 2020, at 11:14 PM, Saransh Sharma <sa...@muellners.org> wrote:
> 
> Think like you have this problem earlier, if i remember correctly you have to somehow set some settings in DB directly and set it to true.
> 
> Thanks 
> 
> On Wed, Dec 30, 2020 at 6:35 PM Emmanuel Njoku <einjoku@gmail.com <ma...@gmail.com>> wrote:
> Dear Saransh,
> 
> I enabled address settings
> 
> On Wed, Dec 30, 2020 at 1:22 PM Saransh Sharma <saransh@muellners.org <ma...@muellners.org>> wrote:
> Enable address settings 
> 
> Sent from my iPhone
> 
>> On 30-Dec-2020, at 5:37 PM, Emmanuel Njoku <einjoku@gmail.com <ma...@gmail.com>> wrote:
>> 
>> 
>> Dear team,
>> 
>> After cloning [fineract] branch develop and deployed on the Apache Tomcat 9. I am unable to create a client using
>> {
>>   "officeId": 1,
>>   "fullname": "EMMANUEL",
>>   "mobileNo": "91530907963",
>>   "externalId": "AA107894",
>>   "dateFormat": "dd MMMM yyyy",
>>   "locale": "en",
>>   "active": true,
>>   "activationDate": "21 December 2020",
>>   "submittedOnDate":"21 December 2020",
>>   "address":[
>>     {
>>         "addressTypeId": 1,
>>         "isActive": true,
>>         "street": "JEMTOK STREET",
>>         "stateProvinceId": 20,
>>         "countryId": 18
>>     }],
>>     "accountNo":"R0104662",
>>     "genderId":"15",
>>     "savingsProductId": 1,
>>     "emailAddress" : "emma@gmail.com <ma...@gmail.com>",
>>    "dateOfBirth" : "17 March 1989"
>> } 
>> 
>> The error message is :
>> {
>>     "developerMessage": "The request was invalid. This typically will happen due to validation errors which are provided.",
>>     "httpStatusCode": "400",
>>     "defaultUserMessage": "Validation errors exist.",
>>     "userMessageGlobalisationCode": "validation.msg.validation.errors.exist",
>>     "errors": [
>>         {
>>             "developerMessage": "The parameter street is not supported.",
>>             "defaultUserMessage": "The parameter street is not supported.",
>>             "userMessageGlobalisationCode": "error.msg.parameter.unsupported",
>>             "parameterName": "street",
>>             "value": null,
>>             "args": [
>>                 {
>>                     "value": "street"
>>                 }
>>             ]
>>         }
>>     ]
>> }
> 
> 
> -- 
> Thanks and regards,
> 
> Saransh Sharma
> Research Partner
> 
> This mail is governed by Muellners®  IT policy.
> The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.


Re: SYSTEM BUG ON CLIENT CREATION

Posted by Saransh Sharma <sa...@muellners.org>.
Think like you have this problem earlier, if i remember correctly you have
to somehow set some settings in DB directly and set it to true.

Thanks

On Wed, Dec 30, 2020 at 6:35 PM Emmanuel Njoku <ei...@gmail.com> wrote:

> Dear Saransh,
>
> I enabled address settings
>
> On Wed, Dec 30, 2020 at 1:22 PM Saransh Sharma <sa...@muellners.org>
> wrote:
>
>> Enable address settings
>>
>> Sent from my iPhone
>>
>> On 30-Dec-2020, at 5:37 PM, Emmanuel Njoku <ei...@gmail.com> wrote:
>>
>> 
>> Dear team,
>>
>> After cloning [fineract] branch develop and deployed on the Apache
>> Tomcat 9. I am unable to create a client using
>> {
>>   "officeId": 1,
>>   "fullname": "EMMANUEL",
>>   "mobileNo": "91530907963",
>>   "externalId": "AA107894",
>>   "dateFormat": "dd MMMM yyyy",
>>   "locale": "en",
>>   "active": true,
>>   "activationDate": "21 December 2020",
>>   "submittedOnDate":"21 December 2020",
>>   "address":[
>>     {
>>         "addressTypeId": 1,
>>         "isActive": true,
>>         "street": "JEMTOK STREET",
>>         "stateProvinceId": 20,
>>         "countryId": 18
>>     }],
>>     "accountNo":"R0104662",
>>     "genderId":"15",
>>     "savingsProductId": 1,
>>     "emailAddress" : "emma@gmail.com",
>>    "dateOfBirth" : "17 March 1989"
>> }
>>
>> The error message is :
>> {
>>     "developerMessage":
>> "The request was invalid. This typically will happen due to validation errors which are provided."
>> ,
>>     "httpStatusCode": "400",
>>     "defaultUserMessage": "Validation errors exist.",
>>     "userMessageGlobalisationCode":
>> "validation.msg.validation.errors.exist",
>>     "errors": [
>>         {
>>             "developerMessage": "The parameter street is not supported.",
>>             "defaultUserMessage":
>> "The parameter street is not supported.",
>>             "userMessageGlobalisationCode":
>> "error.msg.parameter.unsupported",
>>             "parameterName": "street",
>>             "value": null,
>>             "args": [
>>                 {
>>                     "value": "street"
>>                 }
>>             ]
>>         }
>>     ]
>> }
>>
>>

-- 
Thanks and regards,

Saransh Sharma
Research Partner

This mail is governed by Muellners®  IT policy.
The information contained in this e-mail and any accompanying documents may
contain information that is confidential or otherwise protected from
disclosure. If you are not the intended recipient of this message, or if
this message has been addressed to you in error, please immediately alert
the sender by reply e-mail and then delete this message, including any
attachments. Any dissemination, distribution or other use of the contents
of this message by anyone other than the intended recipient is strictly
prohibited. All messages sent to and from this e-mail address may be
monitored as permitted by applicable law and regulations to ensure
compliance with our internal policies and to protect our business. E-mails
are not secure and cannot be guaranteed to be error free as they can be
intercepted, amended, lost or destroyed, or contain viruses. You are deemed
to have accepted these risks if you communicate with us by e-mail.

Re: SYSTEM BUG ON CLIENT CREATION

Posted by Emmanuel Njoku <ei...@gmail.com>.
Dear Saransh,

I enabled address settings

On Wed, Dec 30, 2020 at 1:22 PM Saransh Sharma <sa...@muellners.org>
wrote:

> Enable address settings
>
> Sent from my iPhone
>
> On 30-Dec-2020, at 5:37 PM, Emmanuel Njoku <ei...@gmail.com> wrote:
>
> 
> Dear team,
>
> After cloning [fineract] branch develop and deployed on the Apache Tomcat
> 9. I am unable to create a client using
> {
>   "officeId": 1,
>   "fullname": "EMMANUEL",
>   "mobileNo": "91530907963",
>   "externalId": "AA107894",
>   "dateFormat": "dd MMMM yyyy",
>   "locale": "en",
>   "active": true,
>   "activationDate": "21 December 2020",
>   "submittedOnDate":"21 December 2020",
>   "address":[
>     {
>         "addressTypeId": 1,
>         "isActive": true,
>         "street": "JEMTOK STREET",
>         "stateProvinceId": 20,
>         "countryId": 18
>     }],
>     "accountNo":"R0104662",
>     "genderId":"15",
>     "savingsProductId": 1,
>     "emailAddress" : "emma@gmail.com",
>    "dateOfBirth" : "17 March 1989"
> }
>
> The error message is :
> {
>     "developerMessage":
> "The request was invalid. This typically will happen due to validation errors which are provided."
> ,
>     "httpStatusCode": "400",
>     "defaultUserMessage": "Validation errors exist.",
>     "userMessageGlobalisationCode":
> "validation.msg.validation.errors.exist",
>     "errors": [
>         {
>             "developerMessage": "The parameter street is not supported.",
>             "defaultUserMessage": "The parameter street is not supported."
> ,
>             "userMessageGlobalisationCode":
> "error.msg.parameter.unsupported",
>             "parameterName": "street",
>             "value": null,
>             "args": [
>                 {
>                     "value": "street"
>                 }
>             ]
>         }
>     ]
> }
>
>

Re: SYSTEM BUG ON CLIENT CREATION

Posted by Saransh Sharma <sa...@muellners.org>.
Enable address settings 

Sent from my iPhone

> On 30-Dec-2020, at 5:37 PM, Emmanuel Njoku <ei...@gmail.com> wrote:
> 
> 
> Dear team,
> 
> After cloning [fineract] branch develop and deployed on the Apache Tomcat 9. I am unable to create a client using
> {
>   "officeId": 1,
>   "fullname": "EMMANUEL",
>   "mobileNo": "91530907963",
>   "externalId": "AA107894",
>   "dateFormat": "dd MMMM yyyy",
>   "locale": "en",
>   "active": true,
>   "activationDate": "21 December 2020",
>   "submittedOnDate":"21 December 2020",
>   "address":[
>     {
>         "addressTypeId": 1,
>         "isActive": true,
>         "street": "JEMTOK STREET",
>         "stateProvinceId": 20,
>         "countryId": 18
>     }],
>     "accountNo":"R0104662",
>     "genderId":"15",
>     "savingsProductId": 1,
>     "emailAddress" : "emma@gmail.com",
>    "dateOfBirth" : "17 March 1989"
> } 
> 
> The error message is :
> {
>     "developerMessage": "The request was invalid. This typically will happen due to validation errors which are provided.",
>     "httpStatusCode": "400",
>     "defaultUserMessage": "Validation errors exist.",
>     "userMessageGlobalisationCode": "validation.msg.validation.errors.exist",
>     "errors": [
>         {
>             "developerMessage": "The parameter street is not supported.",
>             "defaultUserMessage": "The parameter street is not supported.",
>             "userMessageGlobalisationCode": "error.msg.parameter.unsupported",
>             "parameterName": "street",
>             "value": null,
>             "args": [
>                 {
>                     "value": "street"
>                 }
>             ]
>         }
>     ]
> }

Re: [Mifos-developer] SYSTEM BUG ON TRANSACTION CREATION

Posted by Emmanuel Njoku <ei...@gmail.com>.
Thank you for your response. It is a mistake from my side. This is not a
bud.

On Mon, Jan 4, 2021 at 11:21 AM Francis Guchie <fr...@gmail.com>
wrote:

> Emmanuel INMHO,
> You have not read the user menu deep enough. I am sure this is not a bug.
> If you need to know the id of the payment type, go to the Database using
> HeidiSQL / mySQL workbench and so the id of the payment type u have added.
>
> Step 1 add the id here
> [image: image.png]
>
> step 2 - how you know the ID
> [image: image.png]
>
>
>
>
> My Kind Regards
>
> Francis Guchie Kirago
> *Skype:* francisguchie
> *Telegram: *232 79 19 44 07
> *Whatsapp: *232 79 19 44 07
> *LINKEDIN:* https://www.linkedin.com/in/francis-guchie-kirago-a4379617/
> twitter: @FrancisGuchie
>
>
>
>
>
>
>
>
>
> On Sat, Jan 2, 2021 at 1:45 PM Emmanuel Njoku <ei...@gmail.com> wrote:
>
>> Dear V.G,
>>
>> I have passed 14 as paymentTypeId which is present on the system.
>>
>> Thanks
>>
>> On Sat, Jan 2, 2021 at 11:01 AM V G <vg...@gmail.com> wrote:
>>
>>> Hello Emmanuel,
>>>
>>>
>>> You need to pass the paymentTypeId that Is present in the system.
>>>
>>> It's not a mandatory parameter.
>>>
>>> You can either create a new payment type and use that id
>>>
>>> Or
>>>
>>> You can ignore the parameter
>>>
>>>
>>> On Sat, 2 Jan, 2021, 2:23 pm Emmanuel Njoku, <ei...@gmail.com> wrote:
>>>
>>>> Dear Team,
>>>>
>>>>  On [fineract] branch develop which was deployed on the Apache Tomcat
>>>> 9. There is another bug in the transaction deposit and withdrawal.
>>>>
>>>>
>>>> https://localhost/fineract-provider/api/v1/savingsaccounts/4/transactions?command=deposit
>>>>
>>>>
>>>> {
>>>>   "locale" : "en",
>>>>   "dateFormat" : "dd MMMM yyyy",
>>>>   "transactionDate" : "31 January 2021",
>>>>   "transactionAmount" : "5000",
>>>>   "paymentTypeId" : "14",
>>>>   "accountNumber" : "acc199",
>>>>   "checkNumber" : "che199",
>>>>   "routingCode" : "rou199",
>>>>   "receiptNumber" : "rec199",
>>>>   "bankNumber" : "ban199"
>>>> }
>>>>
>>>> This is the error message:
>>>> {
>>>>     "developerMessage": "The requested resource is not available.",
>>>>     "httpStatusCode": "404",
>>>>     "defaultUserMessage": "The requested resource is not available.",
>>>>     "userMessageGlobalisationCode": "error.msg.resource.not.found",
>>>>     "errors": [
>>>>         {
>>>>             "developerMessage": "PaymentType with 14 does not exist",
>>>>             "defaultUserMessage": "PaymentType with 14 does not exist",
>>>>             "userMessageGlobalisationCode":
>>>> "error.msg.payment.type.invalid",
>>>>             "parameterName": "id",
>>>>             "value": null,
>>>>             "args": [
>>>>                 {
>>>>                     "value": 14
>>>>                 }
>>>>             ]
>>>>         }
>>>>     ]
>>>> }
>>>>
>>>> On Thu, Dec 31, 2020 at 8:27 AM Elirehema Paul <el...@singo.africa>
>>>> wrote:
>>>>
>>>>> Emmanuel Njoku you have passed a unsupported parameter `street` in
>>>>> your post request address object. Just delete it
>>>>> ---
>>>>> *Elirehema Paul*
>>>>> *Software Developer at Singo Africa Limited*
>>>>> :D
>>>>>
>>>>>  Github <https://github.com/elirehema>  LinkedIn
>>>>> <https://www.linkedin.com/in/elirehema-paul-3755b4124/>  Stackoverflow
>>>>> <https://stackoverflow.com/users/7098524/eli>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 2020-12-30 15:07, Emmanuel Njoku wrote:
>>>>>
>>>>> Dear team,
>>>>>
>>>>> After cloning [fineract] branch develop and deployed on the Apache
>>>>> Tomcat 9. I am unable to create a client using
>>>>> {
>>>>>   "officeId": 1,
>>>>>   "fullname": "EMMANUEL",
>>>>>   "mobileNo": "91530907963",
>>>>>   "externalId": "AA107894",
>>>>>   "dateFormat": "dd MMMM yyyy",
>>>>>   "locale": "en",
>>>>>   "active": true,
>>>>>   "activationDate": "21 December 2020",
>>>>>   "submittedOnDate":"21 December 2020",
>>>>>   "address":[
>>>>>     {
>>>>>         "addressTypeId": 1,
>>>>>         "isActive": true,
>>>>>         "street": "JEMTOK STREET",
>>>>>         "stateProvinceId": 20,
>>>>>         "countryId": 18
>>>>>     }],
>>>>>     "accountNo":"R0104662",
>>>>>     "genderId":"15",
>>>>>     "savingsProductId": 1,
>>>>>     "emailAddress" : "emma@gmail.com",
>>>>>    "dateOfBirth" : "17 March 1989"
>>>>> }
>>>>>
>>>>> The error message is :
>>>>> {
>>>>>     "developerMessage":
>>>>> "The request was invalid. This typically will happen due to validation errors which are provided."
>>>>> ,
>>>>>     "httpStatusCode": "400",
>>>>>     "defaultUserMessage": "Validation errors exist.",
>>>>>     "userMessageGlobalisationCode":
>>>>> "validation.msg.validation.errors.exist",
>>>>>     "errors": [
>>>>>         {
>>>>>             "developerMessage":
>>>>> "The parameter street is not supported.",
>>>>>             "defaultUserMessage":
>>>>> "The parameter street is not supported.",
>>>>>             "userMessageGlobalisationCode":
>>>>> "error.msg.parameter.unsupported",
>>>>>             "parameterName": "street",
>>>>>             "value": null,
>>>>>             "args": [
>>>>>                 {
>>>>>                     "value": "street"
>>>>>                 }
>>>>>             ]
>>>>>         }
>>>>>     ]
>>>>> }
>>>>>
>>>>> Mifos-developer mailing list
>>>>> mifos-developer@lists.sourceforge.net
>>>>> Unsubscribe or change settings at:
>>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>>>
>>>>> Mifos-developer mailing list
>>>>> mifos-developer@lists.sourceforge.net
>>>>> Unsubscribe or change settings at:
>>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>>
>>>> Mifos-developer mailing list
>> mifos-developer@lists.sourceforge.net
>> Unsubscribe or change settings at:
>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>
>

Re: [Mifos-developer] SYSTEM BUG ON TRANSACTION CREATION

Posted by Francis Guchie <fr...@gmail.com>.
Emmanuel INMHO,
You have not read the user menu deep enough. I am sure this is not a bug.
If you need to know the id of the payment type, go to the Database using
HeidiSQL / mySQL workbench and so the id of the payment type u have added.

Step 1 add the id here
[image: image.png]

step 2 - how you know the ID
[image: image.png]




My Kind Regards

Francis Guchie Kirago
*Skype:* francisguchie
*Telegram: *232 79 19 44 07
*Whatsapp: *232 79 19 44 07
*LINKEDIN:* https://www.linkedin.com/in/francis-guchie-kirago-a4379617/
twitter: @FrancisGuchie









On Sat, Jan 2, 2021 at 1:45 PM Emmanuel Njoku <ei...@gmail.com> wrote:

> Dear V.G,
>
> I have passed 14 as paymentTypeId which is present on the system.
>
> Thanks
>
> On Sat, Jan 2, 2021 at 11:01 AM V G <vg...@gmail.com> wrote:
>
>> Hello Emmanuel,
>>
>>
>> You need to pass the paymentTypeId that Is present in the system.
>>
>> It's not a mandatory parameter.
>>
>> You can either create a new payment type and use that id
>>
>> Or
>>
>> You can ignore the parameter
>>
>>
>> On Sat, 2 Jan, 2021, 2:23 pm Emmanuel Njoku, <ei...@gmail.com> wrote:
>>
>>> Dear Team,
>>>
>>>  On [fineract] branch develop which was deployed on the Apache Tomcat 9.
>>> There is another bug in the transaction deposit and withdrawal.
>>>
>>>
>>> https://localhost/fineract-provider/api/v1/savingsaccounts/4/transactions?command=deposit
>>>
>>>
>>> {
>>>   "locale" : "en",
>>>   "dateFormat" : "dd MMMM yyyy",
>>>   "transactionDate" : "31 January 2021",
>>>   "transactionAmount" : "5000",
>>>   "paymentTypeId" : "14",
>>>   "accountNumber" : "acc199",
>>>   "checkNumber" : "che199",
>>>   "routingCode" : "rou199",
>>>   "receiptNumber" : "rec199",
>>>   "bankNumber" : "ban199"
>>> }
>>>
>>> This is the error message:
>>> {
>>>     "developerMessage": "The requested resource is not available.",
>>>     "httpStatusCode": "404",
>>>     "defaultUserMessage": "The requested resource is not available.",
>>>     "userMessageGlobalisationCode": "error.msg.resource.not.found",
>>>     "errors": [
>>>         {
>>>             "developerMessage": "PaymentType with 14 does not exist",
>>>             "defaultUserMessage": "PaymentType with 14 does not exist",
>>>             "userMessageGlobalisationCode":
>>> "error.msg.payment.type.invalid",
>>>             "parameterName": "id",
>>>             "value": null,
>>>             "args": [
>>>                 {
>>>                     "value": 14
>>>                 }
>>>             ]
>>>         }
>>>     ]
>>> }
>>>
>>> On Thu, Dec 31, 2020 at 8:27 AM Elirehema Paul <el...@singo.africa>
>>> wrote:
>>>
>>>> Emmanuel Njoku you have passed a unsupported parameter `street` in your
>>>> post request address object. Just delete it
>>>> ---
>>>> *Elirehema Paul*
>>>> *Software Developer at Singo Africa Limited*
>>>> :D
>>>>
>>>>  Github <https://github.com/elirehema>  LinkedIn
>>>> <https://www.linkedin.com/in/elirehema-paul-3755b4124/>  Stackoverflow
>>>> <https://stackoverflow.com/users/7098524/eli>
>>>>
>>>>
>>>>
>>>>
>>>> On 2020-12-30 15:07, Emmanuel Njoku wrote:
>>>>
>>>> Dear team,
>>>>
>>>> After cloning [fineract] branch develop and deployed on the Apache
>>>> Tomcat 9. I am unable to create a client using
>>>> {
>>>>   "officeId": 1,
>>>>   "fullname": "EMMANUEL",
>>>>   "mobileNo": "91530907963",
>>>>   "externalId": "AA107894",
>>>>   "dateFormat": "dd MMMM yyyy",
>>>>   "locale": "en",
>>>>   "active": true,
>>>>   "activationDate": "21 December 2020",
>>>>   "submittedOnDate":"21 December 2020",
>>>>   "address":[
>>>>     {
>>>>         "addressTypeId": 1,
>>>>         "isActive": true,
>>>>         "street": "JEMTOK STREET",
>>>>         "stateProvinceId": 20,
>>>>         "countryId": 18
>>>>     }],
>>>>     "accountNo":"R0104662",
>>>>     "genderId":"15",
>>>>     "savingsProductId": 1,
>>>>     "emailAddress" : "emma@gmail.com",
>>>>    "dateOfBirth" : "17 March 1989"
>>>> }
>>>>
>>>> The error message is :
>>>> {
>>>>     "developerMessage":
>>>> "The request was invalid. This typically will happen due to validation errors which are provided."
>>>> ,
>>>>     "httpStatusCode": "400",
>>>>     "defaultUserMessage": "Validation errors exist.",
>>>>     "userMessageGlobalisationCode":
>>>> "validation.msg.validation.errors.exist",
>>>>     "errors": [
>>>>         {
>>>>             "developerMessage":
>>>> "The parameter street is not supported.",
>>>>             "defaultUserMessage":
>>>> "The parameter street is not supported.",
>>>>             "userMessageGlobalisationCode":
>>>> "error.msg.parameter.unsupported",
>>>>             "parameterName": "street",
>>>>             "value": null,
>>>>             "args": [
>>>>                 {
>>>>                     "value": "street"
>>>>                 }
>>>>             ]
>>>>         }
>>>>     ]
>>>> }
>>>>
>>>> Mifos-developer mailing list
>>>> mifos-developer@lists.sourceforge.net
>>>> Unsubscribe or change settings at:
>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>>
>>>> Mifos-developer mailing list
>>>> mifos-developer@lists.sourceforge.net
>>>> Unsubscribe or change settings at:
>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>
>>> Mifos-developer mailing list
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer

Re: SYSTEM BUG ON TRANSACTION CREATION

Posted by Emmanuel Njoku <ei...@gmail.com>.
Dear V.G,

I have passed 14 as paymentTypeId which is present on the system.

Thanks

On Sat, Jan 2, 2021 at 11:01 AM V G <vg...@gmail.com> wrote:

> Hello Emmanuel,
>
>
> You need to pass the paymentTypeId that Is present in the system.
>
> It's not a mandatory parameter.
>
> You can either create a new payment type and use that id
>
> Or
>
> You can ignore the parameter
>
>
> On Sat, 2 Jan, 2021, 2:23 pm Emmanuel Njoku, <ei...@gmail.com> wrote:
>
>> Dear Team,
>>
>>  On [fineract] branch develop which was deployed on the Apache Tomcat 9.
>> There is another bug in the transaction deposit and withdrawal.
>>
>>
>> https://localhost/fineract-provider/api/v1/savingsaccounts/4/transactions?command=deposit
>>
>>
>> {
>>   "locale" : "en",
>>   "dateFormat" : "dd MMMM yyyy",
>>   "transactionDate" : "31 January 2021",
>>   "transactionAmount" : "5000",
>>   "paymentTypeId" : "14",
>>   "accountNumber" : "acc199",
>>   "checkNumber" : "che199",
>>   "routingCode" : "rou199",
>>   "receiptNumber" : "rec199",
>>   "bankNumber" : "ban199"
>> }
>>
>> This is the error message:
>> {
>>     "developerMessage": "The requested resource is not available.",
>>     "httpStatusCode": "404",
>>     "defaultUserMessage": "The requested resource is not available.",
>>     "userMessageGlobalisationCode": "error.msg.resource.not.found",
>>     "errors": [
>>         {
>>             "developerMessage": "PaymentType with 14 does not exist",
>>             "defaultUserMessage": "PaymentType with 14 does not exist",
>>             "userMessageGlobalisationCode":
>> "error.msg.payment.type.invalid",
>>             "parameterName": "id",
>>             "value": null,
>>             "args": [
>>                 {
>>                     "value": 14
>>                 }
>>             ]
>>         }
>>     ]
>> }
>>
>> On Thu, Dec 31, 2020 at 8:27 AM Elirehema Paul <el...@singo.africa>
>> wrote:
>>
>>> Emmanuel Njoku you have passed a unsupported parameter `street` in your
>>> post request address object. Just delete it
>>> ---
>>> *Elirehema Paul*
>>> *Software Developer at Singo Africa Limited*
>>> :D
>>>
>>>  Github <https://github.com/elirehema>  LinkedIn
>>> <https://www.linkedin.com/in/elirehema-paul-3755b4124/>  Stackoverflow
>>> <https://stackoverflow.com/users/7098524/eli>
>>>
>>>
>>>
>>>
>>> On 2020-12-30 15:07, Emmanuel Njoku wrote:
>>>
>>> Dear team,
>>>
>>> After cloning [fineract] branch develop and deployed on the Apache
>>> Tomcat 9. I am unable to create a client using
>>> {
>>>   "officeId": 1,
>>>   "fullname": "EMMANUEL",
>>>   "mobileNo": "91530907963",
>>>   "externalId": "AA107894",
>>>   "dateFormat": "dd MMMM yyyy",
>>>   "locale": "en",
>>>   "active": true,
>>>   "activationDate": "21 December 2020",
>>>   "submittedOnDate":"21 December 2020",
>>>   "address":[
>>>     {
>>>         "addressTypeId": 1,
>>>         "isActive": true,
>>>         "street": "JEMTOK STREET",
>>>         "stateProvinceId": 20,
>>>         "countryId": 18
>>>     }],
>>>     "accountNo":"R0104662",
>>>     "genderId":"15",
>>>     "savingsProductId": 1,
>>>     "emailAddress" : "emma@gmail.com",
>>>    "dateOfBirth" : "17 March 1989"
>>> }
>>>
>>> The error message is :
>>> {
>>>     "developerMessage":
>>> "The request was invalid. This typically will happen due to validation errors which are provided."
>>> ,
>>>     "httpStatusCode": "400",
>>>     "defaultUserMessage": "Validation errors exist.",
>>>     "userMessageGlobalisationCode":
>>> "validation.msg.validation.errors.exist",
>>>     "errors": [
>>>         {
>>>             "developerMessage": "The parameter street is not supported."
>>> ,
>>>             "defaultUserMessage":
>>> "The parameter street is not supported.",
>>>             "userMessageGlobalisationCode":
>>> "error.msg.parameter.unsupported",
>>>             "parameterName": "street",
>>>             "value": null,
>>>             "args": [
>>>                 {
>>>                     "value": "street"
>>>                 }
>>>             ]
>>>         }
>>>     ]
>>> }
>>>
>>> Mifos-developer mailing list
>>> mifos-developer@lists.sourceforge.net
>>> Unsubscribe or change settings at:
>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>
>>> Mifos-developer mailing list
>>> mifos-developer@lists.sourceforge.net
>>> Unsubscribe or change settings at:
>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>
>>

Re: SYSTEM BUG ON TRANSACTION CREATION

Posted by V G <vg...@gmail.com>.
Hello Emmanuel,


You need to pass the paymentTypeId that Is present in the system.

It's not a mandatory parameter.

You can either create a new payment type and use that id

Or

You can ignore the parameter


On Sat, 2 Jan, 2021, 2:23 pm Emmanuel Njoku, <ei...@gmail.com> wrote:

> Dear Team,
>
>  On [fineract] branch develop which was deployed on the Apache Tomcat 9.
> There is another bug in the transaction deposit and withdrawal.
>
>
> https://localhost/fineract-provider/api/v1/savingsaccounts/4/transactions?command=deposit
>
>
> {
>   "locale" : "en",
>   "dateFormat" : "dd MMMM yyyy",
>   "transactionDate" : "31 January 2021",
>   "transactionAmount" : "5000",
>   "paymentTypeId" : "14",
>   "accountNumber" : "acc199",
>   "checkNumber" : "che199",
>   "routingCode" : "rou199",
>   "receiptNumber" : "rec199",
>   "bankNumber" : "ban199"
> }
>
> This is the error message:
> {
>     "developerMessage": "The requested resource is not available.",
>     "httpStatusCode": "404",
>     "defaultUserMessage": "The requested resource is not available.",
>     "userMessageGlobalisationCode": "error.msg.resource.not.found",
>     "errors": [
>         {
>             "developerMessage": "PaymentType with 14 does not exist",
>             "defaultUserMessage": "PaymentType with 14 does not exist",
>             "userMessageGlobalisationCode":
> "error.msg.payment.type.invalid",
>             "parameterName": "id",
>             "value": null,
>             "args": [
>                 {
>                     "value": 14
>                 }
>             ]
>         }
>     ]
> }
>
> On Thu, Dec 31, 2020 at 8:27 AM Elirehema Paul <el...@singo.africa>
> wrote:
>
>> Emmanuel Njoku you have passed a unsupported parameter `street` in your
>> post request address object. Just delete it
>> ---
>> *Elirehema Paul*
>> *Software Developer at Singo Africa Limited*
>> :D
>>
>>  Github <https://github.com/elirehema>  LinkedIn
>> <https://www.linkedin.com/in/elirehema-paul-3755b4124/>  Stackoverflow
>> <https://stackoverflow.com/users/7098524/eli>
>>
>>
>>
>>
>> On 2020-12-30 15:07, Emmanuel Njoku wrote:
>>
>> Dear team,
>>
>> After cloning [fineract] branch develop and deployed on the Apache
>> Tomcat 9. I am unable to create a client using
>> {
>>   "officeId": 1,
>>   "fullname": "EMMANUEL",
>>   "mobileNo": "91530907963",
>>   "externalId": "AA107894",
>>   "dateFormat": "dd MMMM yyyy",
>>   "locale": "en",
>>   "active": true,
>>   "activationDate": "21 December 2020",
>>   "submittedOnDate":"21 December 2020",
>>   "address":[
>>     {
>>         "addressTypeId": 1,
>>         "isActive": true,
>>         "street": "JEMTOK STREET",
>>         "stateProvinceId": 20,
>>         "countryId": 18
>>     }],
>>     "accountNo":"R0104662",
>>     "genderId":"15",
>>     "savingsProductId": 1,
>>     "emailAddress" : "emma@gmail.com",
>>    "dateOfBirth" : "17 March 1989"
>> }
>>
>> The error message is :
>> {
>>     "developerMessage":
>> "The request was invalid. This typically will happen due to validation errors which are provided."
>> ,
>>     "httpStatusCode": "400",
>>     "defaultUserMessage": "Validation errors exist.",
>>     "userMessageGlobalisationCode":
>> "validation.msg.validation.errors.exist",
>>     "errors": [
>>         {
>>             "developerMessage": "The parameter street is not supported.",
>>             "defaultUserMessage":
>> "The parameter street is not supported.",
>>             "userMessageGlobalisationCode":
>> "error.msg.parameter.unsupported",
>>             "parameterName": "street",
>>             "value": null,
>>             "args": [
>>                 {
>>                     "value": "street"
>>                 }
>>             ]
>>         }
>>     ]
>> }
>>
>> Mifos-developer mailing list
>> mifos-developer@lists.sourceforge.net
>> Unsubscribe or change settings at:
>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>
>> Mifos-developer mailing list
>> mifos-developer@lists.sourceforge.net
>> Unsubscribe or change settings at:
>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>
>

SYSTEM BUG ON TRANSACTION CREATION

Posted by Emmanuel Njoku <ei...@gmail.com>.
Dear Team,

 On [fineract] branch develop which was deployed on the Apache Tomcat 9.
There is another bug in the transaction deposit and withdrawal.

https://localhost/fineract-provider/api/v1/savingsaccounts/4/transactions?command=deposit


{
  "locale" : "en",
  "dateFormat" : "dd MMMM yyyy",
  "transactionDate" : "31 January 2021",
  "transactionAmount" : "5000",
  "paymentTypeId" : "14",
  "accountNumber" : "acc199",
  "checkNumber" : "che199",
  "routingCode" : "rou199",
  "receiptNumber" : "rec199",
  "bankNumber" : "ban199"
}

This is the error message:
{
    "developerMessage": "The requested resource is not available.",
    "httpStatusCode": "404",
    "defaultUserMessage": "The requested resource is not available.",
    "userMessageGlobalisationCode": "error.msg.resource.not.found",
    "errors": [
        {
            "developerMessage": "PaymentType with 14 does not exist",
            "defaultUserMessage": "PaymentType with 14 does not exist",
            "userMessageGlobalisationCode": "error.msg.payment.type.invalid"
,
            "parameterName": "id",
            "value": null,
            "args": [
                {
                    "value": 14
                }
            ]
        }
    ]
}

On Thu, Dec 31, 2020 at 8:27 AM Elirehema Paul <el...@singo.africa>
wrote:

> Emmanuel Njoku you have passed a unsupported parameter `street` in your
> post request address object. Just delete it
> ---
> *Elirehema Paul*
> *Software Developer at Singo Africa Limited*
> :D
>
>  Github <https://github.com/elirehema>  LinkedIn
> <https://www.linkedin.com/in/elirehema-paul-3755b4124/>  Stackoverflow
> <https://stackoverflow.com/users/7098524/eli>
>
>
>
>
> On 2020-12-30 15:07, Emmanuel Njoku wrote:
>
> Dear team,
>
> After cloning [fineract] branch develop and deployed on the Apache Tomcat
> 9. I am unable to create a client using
> {
>   "officeId": 1,
>   "fullname": "EMMANUEL",
>   "mobileNo": "91530907963",
>   "externalId": "AA107894",
>   "dateFormat": "dd MMMM yyyy",
>   "locale": "en",
>   "active": true,
>   "activationDate": "21 December 2020",
>   "submittedOnDate":"21 December 2020",
>   "address":[
>     {
>         "addressTypeId": 1,
>         "isActive": true,
>         "street": "JEMTOK STREET",
>         "stateProvinceId": 20,
>         "countryId": 18
>     }],
>     "accountNo":"R0104662",
>     "genderId":"15",
>     "savingsProductId": 1,
>     "emailAddress" : "emma@gmail.com",
>    "dateOfBirth" : "17 March 1989"
> }
>
> The error message is :
> {
>     "developerMessage":
> "The request was invalid. This typically will happen due to validation errors which are provided."
> ,
>     "httpStatusCode": "400",
>     "defaultUserMessage": "Validation errors exist.",
>     "userMessageGlobalisationCode":
> "validation.msg.validation.errors.exist",
>     "errors": [
>         {
>             "developerMessage": "The parameter street is not supported.",
>             "defaultUserMessage": "The parameter street is not supported."
> ,
>             "userMessageGlobalisationCode":
> "error.msg.parameter.unsupported",
>             "parameterName": "street",
>             "value": null,
>             "args": [
>                 {
>                     "value": "street"
>                 }
>             ]
>         }
>     ]
> }
>
> Mifos-developer mailing list
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>
> Mifos-developer mailing list
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer