[ 
https://issues.apache.org/jira/browse/FINERACT-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879954#comment-16879954
 ] 

Awasum Yannick commented on FINERACT-82:
----------------------------------------

When creating client, date of birth is not mandatory. But its weird that the 
dateOfBirth Param is not even validated when adding clients.

I will close this... 

> Change client "date of birth" property to non-mandatory
> -------------------------------------------------------
>
>                 Key: FINERACT-82
>                 URL: https://issues.apache.org/jira/browse/FINERACT-82
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Emmanuel Nnaa
>            Assignee: Markus Geiss
>            Priority: Minor
>
> Change client "date of birth" property to non-mandatory
> *From:*
> {code}
> baseDataValidator.reset().parameter(ClientApiConstants.dateOfBirthParamName).value(dateOfBirth).notNull().validateDateBefore(DateUtils.getLocalDateOfTenant());
> {code}
> *To:*
> {code}
> baseDataValidator.reset().parameter(ClientApiConstants.dateOfBirthParamName).value(dateOfBirth).validateDateBefore(DateUtils.getLocalDateOfTenant());
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to