Uploaded image for project: 'Archive mifos 2.x'
  1. MIFOS2X-6160

Overdrawn Saving Account crashes further Debit/Credit and Job Post Interest for Savings

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.6.3
    • Fix Version/s: None
    • Component/s: Savings Account
    • Labels:
      None
    • Team:
      Core
    • Sprint:

      Description

      Minimum Opening Balance=1,000
      Allow Overdraft=true
      Max Overdraft limit=10,000
      Nominal annual interest for overdraft=18
      Withdrawal Fee=Flat & 200

      Accounting:
      *************
      Savings Reference(Assets)=Cash Reserve
      Overdraft Portfolio(Assets)=Retail Overdraft
      Savings Control(Liabilities)=Personal current acc
      Transfers in suspense(Liabilities)=Suspense - Proxy accounts
      Interest on Savings(Expenses)=Savings
      Write-off(Expenses)=Current accounts retail
      Income from Fee(Income)=Cash Withdrawal Fees
      Income from Penalties(Income)=Penalty on Retail Accounts
      Overdraft Interest Income(Income)=Int. Retail Overdraft

      1. Create Saving Account that inherits these Savings Account Products settings.
      2. Approve and Activate Account
      3. Debit and Credit of Minimum Opening Balance OK
      4. Overdraw the Account, the posting is OK, rights accounts & amounts debited/credited
      5. Credit/Debit the account after (4.), see error below:
      ==>Recent Portfolio changes w.r.t Charges for Savings have Broken the accounting code -
      6. run job "Post Interest for Savings", see error below:
      ==>org.apache.fineract.infrastructure.jobs.exception.JobExecutionException:
      failed to post interest for Savings with id 2 with message null
      at org.apache.fineract.portfolio.savings.service.SavingsSchedularServiceImpl.postInterestForAccounts(76)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(-2) at sun.reflect.NativeMethodAccessorImpl.invoke(-1)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(-1) at java.lang.reflect.Method.invoke(-1)
      at org.springframework.util.MethodInvoker.invoke(269)
      at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(322)
      at org.springframework.scheduling.quartz.QuartzJobBean.execute(112) at org.quartz.core.JobRunShell.run(213)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(557)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lniyongabo Louis Niyongabo
              Notify:
              Sangamesh Nadagoudar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: