From ab6a0ee503242f83c2604d83e423e22d4a8dc735 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Mon, 19 Sep 2016 11:20:20 +1200 Subject: [PATCH] [Follow up] Bug 17135 - Cleaner message for updatedatabase To test: Read the patch and check the message seems accurate and ok Make sure the database updates when it is supposed to with this patch applied. --- installer/data/mysql/updatedatabase.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 141d164..7596a50 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -13007,8 +13007,8 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { print "Upgrade to $DBversion done (Bug 17135 - Fine for the previous overdue may get overwritten by the next one)\n"; unless ($original_version < TransformToNum("3.23.00.032")) { ## Bug 15675 - print "WARNING: There is a possibility (= just a possibility, it's configuration dependent etc.) that - due to regression introduced by Bug 15675 - some old fine records for overdued items (items which got renewed 1+ time while being overdue) may have been overwritten in your production 16.05+ database. See Bugzilla reports for Bug 14390 and Bug 17135 for more details.\n"; - print "WARNING: Please note that this upgrade does not try to recover such overwitten old fine records (if any) - it's just an follow-up for Bug 14390, its sole purpose is preventing eventual further-on overwrites from happening in the future. Optional recovery of the overwritten fines (again, if any) is like, totally outside of the scope of this particular upgrade!\n"; + print "WARNING: There is a possibility, depending on your system configuration, that fines for items renewed 1+ times while being overdue may have been lost. This only affects Koha systems running version 16.05+. This defect was introduced by Bug 15675. For more details, see the Bugzilla reports for Bug 14390 and Bug 17135.\n"; + print "WARNING: The overwitten old fine records (if any) are not able to be recovered. We apologise for any fines lost due to his defect, and recognise that fines are a source of income in many libraries. \n"; } SetVersion ($DBversion); } -- 1.9.1