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

Cannot add charge if loan had ever been overpaid at any time before

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0
    • None

    Description

      During the loan lifecycle if the loan was overpaid and reopened, adding new loan charge is not possible due to NPE issues at backend.

      Seems when the loan got overpaid the “actualMaturityDate” set to “null” and when the loan got reopened, the “actualMaturityDate” is not set.
      Adding a new loan charge is depending on the “actualMaturityDate” to calculate whether it needs to add an additional instalment or not.

      Expected Result
      The system should recalculate and update the actualMaturityDate once the loan becomes active again based on the expectedMaturityDate (which equals to the last non-additional instalment* due date).

      • N+1

      Acceptance criteria
      Adding a loan charge is possible to an active loan at any time
      Even if a loan got overpaid and then reopened, adding a new charge should possible

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mdallos Mihaly Dallos
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: