[Mifos-developer] SYSTEM BUG ON CLIENT CREATION

50 views
Skip to first unread message

Emmanuel Njoku

unread,
Dec 30, 2020, 7:07:54 AM12/30/20
to Mifos software development, Awasum Yannick, Bharath Gowda, mifos-users, Awasum Yannick, Dev
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" : "em...@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"
                }
            ]
        }
    ]
}

Emmanuel Njoku

unread,
Dec 30, 2020, 8:06:14 AM12/30/20
to Dev, Mifos software development, mifos-users, Awasum Yannick
Dear Saransh,

I enabled address settings

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

Sent from my iPhone

On 30-Dec-2020, at 5:37 PM, Emmanuel Njoku <ein...@gmail.com> wrote:



Saransh Sharma

unread,
Dec 30, 2020, 8:24:33 AM12/30/20
to d...@fineract.apache.org, Mifos software development, mifos-users, Awasum Yannick
Enable address settings 

Sent from my iPhone

On 30-Dec-2020, at 5:37 PM, Emmanuel Njoku <ein...@gmail.com> wrote:



Elirehema Paul

unread,
Dec 31, 2020, 2:27:46 AM12/31/20
to Mifos software development

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  LinkedIn  Stackoverflow

 

Mifos-developer mailing list
mifos-d...@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer

Emmanuel Njoku

unread,
Jan 2, 2021, 3:53:45 AM1/2/21
to Mifos software development, Elirehema Paul, Awasum Yannick, Dev
Dear Team,

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


{
  "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
                }
            ]
        }
    ]
}

Emmanuel Njoku

unread,
Jan 2, 2021, 5:44:47 AM1/2/21
to Dev, Mifos software development, Awasum Yannick
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 <vganesh...@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

Francis Guchie

unread,
Jan 4, 2021, 5:21:47 AM1/4/21
to Mifos software development, Dev, Awasum Yannick
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.png

step 2 - how you know the ID
image.png




My Kind Regards

Francis Guchie Kirago
Skype: francisguchie
Telegram: 232 79 19 44 07
Whatsapp: 232 79 19 44 07
twitter: @FrancisGuchie








Emmanuel Njoku

unread,
Jan 4, 2021, 8:26:54 AM1/4/21
to Dev, Mifos software development, Awasum Yannick
Thank you for your response. It is a mistake from my side. This is not a bud.
Reply all
Reply to author
Forward
0 new messages