Emmanuel Nnaa created FINERACT-196:
--------------------------------------

             Summary: Loan collateral description should be optional 
                 Key: FINERACT-196
                 URL: https://issues.apache.org/jira/browse/FINERACT-196
             Project: Apache Fineract
          Issue Type: Bug
            Reporter: Emmanuel Nnaa
            Assignee: Markus Geiss
            Priority: Minor


The loan collateral description is currently mandatory for loan creation or 
modification.

{code}
final String description = 
this.fromApiJsonHelper.extractStringNamed("description", collateralItemElement);
                    
baseDataValidator.reset().parameter("collateral").parameterAtIndexArray("description",
 i).value(description).notBlank()
.notExceedingLengthOf(500);
{code}

See - 
org.mifosplatform.portfolio.loanaccount.serialization.LoanApplicationCommandFromApiJsonHelper.validateForCreate(String,
 boolean)

org.mifosplatform.portfolio.loanaccount.serialization.LoanApplicationCommandFromApiJsonHelper.validateForModify(String)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to