Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-197

Loan collateral description should be optional

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

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

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

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

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              emmanuelnnaa@musoni.eu Emmanuel Nnaa
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: