[
http://mifosforge.jira.com/browse/MIFOS-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
keithwoodlock resolved MIFOS-2109.
----------------------------------
Resolution: Won't Fix
> Remove GLIM-specific individual loans from being accessed in these places
> -------------------------------------------------------------------------
>
> Key: MIFOS-2109
> URL: http://mifosforge.jira.com/browse/MIFOS-2109
> Project: mifos
> Issue Type: Bug
> Components: GLIM
> Affects Versions: Release 1.1
> Environment: Platform: All, OS: All
> Reporter: pbiligi
> Assignee: mifosdeveloperqueue
> Priority: Major
> Fix For: Unscheduled
>
>
> GLIM loans (http://mifos.org/developers/wiki/GLIMVersion2) create individual
> tuples in the loan_account table for each of the co-signing members. These
> tuples are identified by account_type = 4, and never get updated after
> creation.
> Logically they are not the same as normal loan_accounts and should be excluded
> whenever you want to access only proper loan_accounts.
> See full discussion here:
> http://thread.gmane.org/gmane.comp.finance.mifos.devel/5225
> The following places in the Mifos codebase access the GLIM individual
> loan_accounts. They need to be changed to not access these tuples.
> 1. Batch job RegenerateScheduleTask
> Regenerates future installments. LoanBO overrides the
> AccountBO.regenerateFutureInstallments(). This changes ACTION_DATE in
> LOAN_SCHEDULE_ENTITY.
> Possible fix: Change regenerateFutureInstallments() or methods it calls to
> ignore GLIM individual loans (AccountTypes.INDIVIDUAL_LOAN_ACCOUNT)
> 2. ApplyHolidayChangesTask
> Calculates repayment schedules for loans, picking up their current
> schedules
> from loan_schedule. Doesn't look for only LOAN_ACCOUNTs.
> Possible fix: Change HolidayPersistence.getAllLoanSchedules() to ignore
> GLIM
> individual loans
> 3. LoanBusinessService - getAllLoanAccounts()
> Used in CustomFieldsBackfiller to update the accountCustomFieldEntity.
> Possible fix: Change LoanPersistence.getAllLoanAccounts() to filter out
> GLIM
> individual loans.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues