RiSE - unable to create a biweekly loan with correct schedule

Description

Rise production cloud instance has Mifos 2.1

Group UK-B1-071 has meetings once in 2 weeks falling on Wednesdays.
When creating a loan (or re-doing) with disbursement date as 27-Apr-2011,

In 2.1, the first repayment comes up as 4th May - this is not correct as it is the week immediately following the disbursement
In 2.0.x, the first repayment comes up as 11th May - this is correct.

(I was surprised that I was able to download the production DB dump and start tomcat with 2.0.x war file. I was expecting an error to be shown at startup saying DB version does not match application version).

Environment

Mifos Cloud 2.1

Activity

Show:
Mifos Hudson Jira Plugin User
May 4, 2011, 5:03 PM

Integrated in

head-master-secondary #341
MIFOS-4958: ensure valid disbursement date is default on loan creation when LSIM is off. The disbursment date must be a date that matches with the next customer meeting schedule.

Keith Woodlock :
Files :

  • appdomain/src/main/java/org/mifos/clientportfolio/newloan/domain/ScheduledEventLoanDisbursementStrategyImpl.java

  • appdomain/src/test/java/org/mifos/clientportfolio/newloan/domain/ScheduledEventLoanDisbursementStrategyImplTest.java

  • appdomain/src/main/java/org/mifos/application/servicefacade/LoanAccountServiceFacadeWebTier.java

  • application/src/main/java/org/mifos/accounts/loan/struts/action/LoanDisbursementAction.java

  • appdomain/src/test/java/org/mifos/clientportfolio/newloan/domain/LoanDisbursementCoupledToCustomerMeetingScheduleStrategyImplTest.java

  • appdomain/src/main/java/org/mifos/clientportfolio/newloan/domain/LoanDisbursementCoupledToCustomerMeetingScheduleStrategyImpl.java

  • appdomain/src/main/java/org/mifos/accounts/loan/business/LoanBO.java

  • appdomain/src/main/java/org/mifos/clientportfolio/newloan/domain/LoanDisbursmentDateFactoryImpl.java

Mifos Hudson Jira Plugin User
May 4, 2011, 9:23 PM

Integrated in

head-f-release #160
MIFOS-4958: fix conflicts from cherry pick of 7f7145eecd12b2fea3195f2ba8d88c485cdf8e25

Keith Woodlock : c7dab78f8af27af8b65c65bb22126b84beb5f666
Files :

  • appdomain/src/main/java/org/mifos/accounts/loan/business/LoanBO.java

  • appdomain/src/main/java/org/mifos/application/servicefacade/LoanAccountServiceFacadeWebTier.java

  • application/src/main/java/org/mifos/accounts/loan/struts/action/LoanDisbursementAction.java

keithwoodlock
May 4, 2011, 11:17 PM

Fixed in f-release and g-release code. confirmed correct loan schedule is created for bi weekly loans on tuesdays for lsim on and off as binny suggested.

Lukasz Chudy
May 5, 2011, 9:10 AM

Now, it is possible to create Loan account when LSIM is disabled and loan schedule is correct. But after that fix there is a new bug - it is possible to select Loan product with any meetings frequency. New issue has been created for that

Lukasz Chudy
May 6, 2011, 1:19 PM

Verified on 06.05.2011
Now, schedule is correct when LSIM is on and off and Loan product selection also works properly.

Assignee

mifosqa

Reporter

Binny Gopinath Sreevas

Labels

URL

None

Story Points

0

Team

Core

Scheduled For

Release

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Affects versions

Priority

Blocker
Configure