[Koha-bugs] [Bug 29380] Auto renewing, batch due date extension tool and checkout note previews are broken
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Oct 30 21:14:34 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29380
--- Comment #1 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
Created attachment 127109
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127109&action=edit
Bug 29380: Correct table name in joins to prevent errors
The commit "Bug 29290: Rename relationships borrower =>
patron" (d46492ac23) renamed the relation for the borrowers table from
'borrower' to 'patron' but the joins were not updated accordingly so a
few scripts got broken.
To test:
1) Notice that
$ perl misc/cronjobs/automatic_renewals.pl -c -s -v
returns 255 error code on exit
2) Apply patch
3) Notice the automatic_renewals.pl works now and exit code is 0
4) Make sure /cgi-bin/koha/tools/batch_extend_due_dates.pl works.
5) Try to grep for 'borrower' in Koha source code and see if there
are any other join done using the Koha::Checkout or
Koha::Old::Checkout objects.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list