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

Handle Null Loan Cycle Counter in Loan Product Assignment for Borrow Cycle Enabled Products

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.8.4
    • 1.8.4
    • Loan
    • None

    Description

      When a loan product with the borrowcycle feature enabled is created without filling the required details, the product is successfully created. However, issues arise when this loan product is later assigned to a client. The problem occurs in the conditional logic that follows:

      • Issue: The conditional check on the loancycle counter assumes it will always have a numerical value. However, in cases where the borrowcycle is enabled but no specific details are provided, the loancycle counter is set to null.
      • Impact: This results in a NullPointerException during the execution of the conditional check, disrupting the normal flow of the application.

      Proposed Solution: To address this issue and ensure a smooth application flow, the conditional logic should be enhanced to account for scenarios where the loancycle counter is null. This may involve updating the conditional checks or setting a default value for loancycle when it is not explicitly provided during loan product creation.

      Attachments

        1. Screenshot (59).png
          206 kB
          Rajkumar Selvaraj

        Activity

          People

            Unassigned Unassigned
            rajkumar9360 Rajkumar Selvaraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: