vorburger commented on a change in pull request #1189:
URL: https://github.com/apache/fineract/pull/1189#discussion_r456904524



##########
File path: 
fineract-provider/src/main/java/org/apache/fineract/portfolio/client/domain/ClientNonPerson.java
##########
@@ -113,6 +113,11 @@ private void validate(final Client client) {
         final List<ApiParameterError> dataValidationErrors = new ArrayList<>();
         validateIncorpValidityTillDate(client, dataValidationErrors);
 
+        if (this.constitution == null) {
+            
dataValidationErrors.add(ApiParameterError.parameterError("error.msg.constitutionid.is.null",
 "Constitution ID may not be null",

Review comment:
       ```suggestion
               
dataValidationErrors.add(ApiParameterError.parameterError("error.msg.clients.constitutionid.is.null",
 "Constitution ID may not be null",
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to