Re: SYSTEM BUG ON CLIENT CREATION

2020-12-30 Thread Petri Tuomola
Hi Emmanuel

There was a PR in June (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  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  > wrote:
> Dear Saransh,
> 
> I enabled address settings
> 
> On Wed, Dec 30, 2020 at 1:22 PM Saransh Sharma  > wrote:
> Enable address settings 
> 
> Sent from my iPhone
> 
>> On 30-Dec-2020, at 5:37 PM, 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  ",
>>   "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" : "e...@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

2020-12-30 Thread Saransh Sharma
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  wrote:

> Dear Saransh,
>
> I enabled address settings
>
> On Wed, Dec 30, 2020 at 1:22 PM Saransh Sharma 
> wrote:
>
>> Enable address settings
>>
>> Sent from my iPhone
>>
>> On 30-Dec-2020, at 5:37 PM, 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  ",
>>   "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" : "e...@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

2020-12-30 Thread Emmanuel Njoku
Dear Saransh,

I enabled address settings

On Wed, Dec 30, 2020 at 1:22 PM Saransh Sharma 
wrote:

> Enable address settings
>
> Sent from my iPhone
>
> On 30-Dec-2020, at 5:37 PM, 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  ",
>   "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" : "e...@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

2020-12-30 Thread Saransh Sharma
Enable address settings 

Sent from my iPhone

> On 30-Dec-2020, at 5:37 PM, 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  ",
>   "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" : "e...@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"
> }
> ]
> }
> ]
> }