Here is a patch[1] for bug #1417 on the cron_jobs_fix branch, and the same fix for the trunk[2]. One additional library[3] is requred (also attached), a small one I wrote to handle sorting by searchId. The sort routines are ancillary to Mifos and may be useful to other projects, so I broke them out into this separate library. Just place the .jar file into the respective 'lib' dir of your working copy before applying each patch. The source tarball[4] for the sorting library is also available.
Unit tests for the sorting code library are available in the source code distribution. "Chapter number" refers to the fact that search IDs look and act like chapter numbers in an academic text, like "1.1.5", "1.1.10", etc. Unit tests for search ID maintenance appear to be covered within TestClientBO. Not all unit tests pass on the cron_jobs_fix branch (as expected). All unit tests pass on the trunk. References: 1. http://adammonsen.com/tmp/bug1417fix-cron_jobs_fix.patch 2. http://adammonsen.com/tmp/bug1417fix-trunk.patch 3. http://adammonsen.com/tar_dl/chapternum-sorter-0.8.jar 4. http://adammonsen.com/tar_dl/chapternum-sorter-src-0.8.tar.gz -- Adam Monsen ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
