[
http://mifosforge.jira.com/browse/MIFOS-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ćukasz Babski closed MIFOS-2109.
--------------------------------
I am closing this issue, it will be reopened if required.
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://mifosforge.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues