fineract-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Nnaa (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FINERACT-197) Loan collateral description should be optional
Date Wed, 29 Jun 2016 09:27:47 GMT
Emmanuel Nnaa created FINERACT-197:
--------------------------------------

             Summary: Loan collateral description should be optional 
                 Key: FINERACT-197
                 URL: https://issues.apache.org/jira/browse/FINERACT-197
             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)

Mime
View raw message