From e410967acfc6538abcef74948743df3e4f575148 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Sun, 2 Apr 2017 18:59:52 +0200 Subject: [PATCH] Bug 18368 - DBversion 16.12.00.022 not set by updatedatabase.pl Updating to 16.12.00.22 puts the upgrade process in an endless loop because DBversione is not set by updatedatabase.pl Missing line: SetVersion( $DBversion ) This patch inserts the line as appropriate. To test: - Apply patch - Verify code change makes sense - Verify that upgrade smoothly runs through Signed-off-by: Mark Tompsett Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- installer/data/mysql/updatedatabase.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index c0c6ab013f..e3d1675736 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -14076,6 +14076,7 @@ if( CheckVersion( $DBversion ) ) { $DBversion = "16.12.00.022"; if( CheckVersion( $DBversion ) ) { print "NOTE: The sender for serial claim notifications has been corrected. The email address of the staff member is no longer used. We will use the branch email address or KohaAdminEmailAddress, as is done for other notices.\n"; + SetVersion( $DBversion ); print "Upgrade to $DBversion done (Bug 17866 - Change sender for serial claim notifications)\n"; } -- 2.39.5