[
http://mifosforge.jira.com/browse/MIFOS-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kay Chau updated MIFOS-2013:
----------------------------
Fix Version/s: (was: Release G - Iteration 2)
Release G - Iteration 3
> Disbursement date can be set before loan creation date
> ------------------------------------------------------
>
> Key: MIFOS-2013
> URL: http://mifosforge.jira.com/browse/MIFOS-2013
> Project: mifos
> Issue Type: Bug
> Components: Loan Account
> Affects Versions: Release 1.1
> Environment: Platform: All, OS: All
> Reporter: Keith Pierce
> Assignee: keithwoodlock
> Priority: Major
> Fix For: Release G, Release G - Iteration 3
>
>
> This defect was observed while unit-testing changes to redo-loan functions.
> Scenario: Redo a loan with the following terms:
> 1. Start date Sunday, June 1.
> 2. Associated with a customer meeting that meets every Monday.
> 3. Specify disbursement Sunday, June 7.
> Expected: disbursement date set to next meeting date -- Monday, June 2.
> Actual: system attempted to set disbursement date to the previous Monday, May
> 26.
> Root cause:
> 1. Default locale is set to GB/EN.
> 2. For this locale, Calendar sets the first day of the week to Monday, not
> Sunday.
> 3. To determine the disbursement date, the system takes the start date and
> resets the day-of-week to the Monday of the week containing Sunday's start
> date,
> which is the previous Monday, not the next Monday.
> This is the only scenario that exposes this defect:
> * Loan start date is the last day of the week (Saturday in the US, Sunday in
> many other countries).
> * Meeting date set to the first day of the week (Sunday in the US, Monday in
> many other countries)
> This is likely a very rare scenario, but the system should take this into
> account, and is a pretty simple fix.
> Solution:
> Change the logic to set the disbursement date to the next weekly meeting day
> after the start date, not the meeting day that the start date happens to
> contain.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues