[ 
http://mifosforge.jira.com/browse/MIFOS-3566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Balcerzak updated MIFOS-3566:
----------------------------------

    Attachment: 002-A-fix-to-malfunction-in-executeTask-in-TaskHelper.cl.patch
                001-Test-showing-malfunction-in-executeTask-in-TaskHelpe.patch

The first patch includes a test showing the problem and the second - a fix. 

> Catch-up execution feature from executeTask() method in TaskHelper.class 
> executes tasks for each day until now, ignoring task delay
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MIFOS-3566
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3566
>             Project: mifos
>          Issue Type: Bug
>          Components: Batch jobs
>    Affects Versions: Release E
>            Reporter: Adam Balcerzak
>         Attachments: 
> 001-Test-showing-malfunction-in-executeTask-in-TaskHelpe.patch, 
> 002-A-fix-to-malfunction-in-executeTask-in-TaskHelper.cl.patch
>
>
> When a bathjob task doesn't finish succesfully, the next time it runs, 
> catch-up execution from executeTask() method in TaskHelper.class should run 
> the task for each day the task hasn't finished succesfully as well as run it 
> for current time. However now it executes old tasks for every single day 
> until now, ignoring task's delay time.
> E.g. if a task is scheduled to run every 7 days and once it hasn't finished 
> succesfully, the next week it should run only 2 times (once to catch-up and 
> once as planned) instead of 14

-- 
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

        

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to