[
http://mifosforge.jira.com/browse/MIFOS-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60045#action_60045
]
Van Mittal-Henkle commented on MIFOS-3712:
------------------------------------------
>From SECDEP logs I found the error:
org.mifos.framework.components.batchjobs, GenerateMeetingsForCustomerAndSav
ingsHelper, logMessage, 197, account 49242 exception Fee is attached to this
customer but has never been appl
ied to a scheduled event
2010-09-13/00:01:10.274/PHT ERROR, org.mifos.framework.components.batchjobs,
GenerateMeetingsForCustomerAndSa
vingsHelper, execute, 141, Unable to generate schedules for account with ID
49242
org.mifos.core.MifosRuntimeException: Fee is attached to this customer but has
never been applied to a schedu
led event
at
org.mifos.customers.business.CustomerAccountBO.getLatestInstallmentFeeIsAppliedTo(CustomerAccountB
O.java:515)
at
org.mifos.customers.business.CustomerAccountBO.getInstallmentsAfterLatestInstallmentThatFeeWasAppl
iedTo(CustomerAccountBO.java:501)
at
org.mifos.customers.business.CustomerAccountBO.applyPeriodicFeesToNextSetOfMeetingDates(CustomerAc
countBO.java:482)
at
org.mifos.customers.business.CustomerAccountBO.generateNextSetOfMeetingDates(CustomerAccountBO.jav
a:639)
at
org.mifos.framework.components.batchjobs.helpers.GenerateMeetingsForCustomerAndSavingsHelper.execu
te(GenerateMeetingsForCustomerAndSavingsHelper.java:103)
at
org.mifos.framework.components.batchjobs.TaskHelper.perform(TaskHelper.java:207)
at
org.mifos.framework.components.batchjobs.TaskHelper.executeTask(TaskHelper.java:120)
at
org.mifos.framework.components.batchjobs.MifosTask.run(MifosTask.java:56)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
This can be traced back to the CustomerAccountBO method:
short getLatestInstallmentFeeIsAppliedTo (AccountFeesEntity accountFee) {
List<AccountActionDateEntity> allInstallments =
getAccountActionDatesSortedByInstallmentId();
for (int installmentId = allInstallments.size(); installmentId >=1;
installmentId--) {
CustomerScheduleEntity scheduleEntity = (CustomerScheduleEntity)
getAccountActionDate((short) installmentId);
if (feeIsAppliedTo(scheduleEntity, accountFee)) {
return (short) installmentId;
}
}
throw new MifosRuntimeException("Fee is attached to this customer but
has never been applied to a scheduled event");
}
So a matching fee is not being found where it is expected.
> Recurring client charges are not being charged to the accounts after the
> initial application
> --------------------------------------------------------------------------------------------
>
> Key: MIFOS-3712
> URL: http://mifosforge.jira.com/browse/MIFOS-3712
> Project: mifos
> Issue Type: Bug
> Reporter: Ryan Whitney
> Assignee: Van Mittal-Henkle
> Priority: Blocker
> Fix For: Release E - Iteration 7, Release 1.6.1, Release E
>
>
> It appears that for SECDEP's current upgrade, the client charges are not
> being applied for next week. This appears to be unrelated to the bug opened
> yesterday where every 11th payment was not getting applied, this appears as
> NO charges are being applied next week.
> you can see this on SECDEP's production server, account: 0003-000014139
> Her next payment is due next Monday, and it says for 9/20/10, there is
> nothing set to be paid.
> I uploaded a production drop of their database (from the upgrade to test) to
> my local virtual server, and tried shifting the date (not using acceptance
> test, but actually shifting the date on the virtual server) to the next
> monday, hoping that it would appear. It did not.
> This is also affecting the collection sheets that are to be printed for next
> week, as now they aren't showing the charges that are due.
> This appears to be affecting all accounts.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues