+++ This bug was initially created as a clone of Bug #23265 +++ When creating an instance from an older DB and running koha-upgrade-schema, the following error occurs. >[…] >Upgrade to 16.12.00.030 done (Bug 16344 - Add a circ rule to limit the auto renewals given a specific date) >Upgrade to 16.12.00.031 done (Bug 15108: OAI-PMH provider improvements) >Not a HASH reference at /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line 14371. This is caused by an incorrect dbh call added in bug 23265. I should have caught this before pushing, sorry chaps.
Created attachment 94043 [details] [review] Bug 23089: Correction to selectall_arrayref call. This patch adds the missing `{ Slice => {} }` attribute to the database call introduced in bug 23265 to fix the use of Koha::Objects introduced originally in bug 12063.
This affects 19.05.04+ and 18.11.10+ badly if you're upgrading from pre 17.05.
Created attachment 94044 [details] [review] Bug 23809: Correction to selectall_arrayref call. This patch adds the missing `{ Slice => {} }` attribute to the database call introduced in bug 23265 to fix the use of Koha::Objects introduced originally in bug 12063. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Simple patch so going to take Jonathans SO and a PQA (especially as I've used this in production myself with an upgrade for a live customer this morning).
Nice work! Pushed to master for 19.11.00
*** Bug 23810 has been marked as a duplicate of this bug. ***
Pushed to 19.05.x for 19.05.05