[
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: Unscheduled)
Release G
Release G - Iteration 2
Assignee: keithwoodlock (was: mifosdeveloperqueue)
Think this shouldn't happen if we correctly get settings from locale
> 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 - Iteration 2, Release G
>
>
> 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
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues