Koha/misc
Aleisha Amohia f406aa2ae3
Bug 24266: (alternate patch) Only use defined borrowernumbers in reconcile_balances.pl cron
I believe the error is triggered when borrowernumbers are left empty in
the accountlines table. Not sure why this would happen, but it appears
to be what causes the problem.

Do not apply the first patch if testing this patch.

To test:
1) sudo koha-mysql INSTANCENAME
2) Create a test borrower, add any payment etc to create an accountline,
    then delete this borrower
3) ensure the AccountAutoReconcile syspref is disabled
4) Go to another borrower's accounting tab
5) Create a manual credit or debit. Confirm this shows in the 'Make a
payment' tab as an amount that COULD be applied, but isn't automatically
applied
6) in your terminal, run the reconcile_balances.pl script
7) Confirm the error does not show in the logs and the balance for
the borrower is correctly reconciled.

Sponsored-by: Horowhenua District Council
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-14 08:21:31 +01:00
..
admin Bug 23193: Make set_password.pl use Koha::Script 2019-06-28 14:34:13 +01:00
bin Revert Bug 11081 - Port Koha::Contrib::Tamil indexer into Koha code base 2016-03-01 16:56:35 +00:00
cronjobs Bug 24266: (alternate patch) Only use defined borrowernumbers in reconcile_balances.pl cron 2020-04-14 08:21:31 +01:00
devel Bug 20415: Remove UseKohaPlugins system preference 2020-03-26 11:42:02 +00:00
interface_customization Bug 23903: Replace OPAC icons with Font Awesome 2019-10-31 15:40:25 +00:00
load_testing Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
maintenance Bug 23463: Replace ModItem with Koha::Item->store 2020-03-23 09:26:30 +00:00
migration_tools Bug 15214: bulkmarcimport should log if an authority has been updated 2020-03-24 10:54:46 +00:00
release_notes Update release notes for 19.11.00 release 2019-11-28 18:25:06 +00:00
search_tools Bug 23204: (RM follow-up) Use Koha::Script 2020-03-27 12:08:54 +00:00
translator Bug 24262: (follow-up) admit null values on labels 2020-03-09 13:54:24 +00:00
add_date_fields_to_marc_records.pl Bug 22509: (RM follow-up) Add use of Koha::Script base class 2019-06-24 15:08:33 +01:00
batchCompareMARCvsFrameworks.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
batchdeletebiblios.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
batchDeleteUnusedSubfields.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
batchImportMARCWithBiblionumbers.pl Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
batchRebuildBiblioTables.pl Bug 24827: Standardise on 'UTF-8' as the encoding name 2020-03-16 14:45:39 +00:00
batchRebuildItemsTables.pl Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
batchRepairMissingBiblionumbers.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
check_sysprefs.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
commit_file.pl Bug 17845: Adjust few other occurrences 2020-03-10 15:18:28 +00:00
export_borrowers.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
export_records.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
exportauth.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
import_patrons.pl Bug 23473: Allow overwrite of passwords during import 2020-03-27 12:21:59 +00:00
koha-install-log Bug 17851: Add Elasticsearch config to koha-conf.xml - Add missing entries to koha-install-log 2019-10-07 14:09:10 +01:00
kohalib.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
link_bibs_to_authorities.pl Bug 21957: Add a flag to ModBiblio to avoid linking auths if called from linker 2019-04-18 10:02:03 +00:00
load_yaml.pl Bug 24883: (RM follow-up) Use Koha::Script 2020-03-27 12:12:31 +00:00
mod_zebraqueue.pl Bug 22600: Set 'commandline' interface appropriately 2019-04-10 19:43:11 +00:00
perlmodule_ls.pl
perlmodule_rm.pl
recreateIssueStatistics.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
sax_parser_print.pl Bug 17626 (QA followup) 2016-11-22 11:29:07 +00:00
sax_parser_test.pl
sip_cli_emulator.pl Bug 22540: (QA follow-up) fixes 2019-10-08 14:33:34 +01:00
stage_file.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
z3950_responder.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00