From 08c04e881d9bc7b919eb86c62b4c0f0bfe61c73d Mon Sep 17 00:00:00 2001 From: =?UTF-8?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 --- 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 c0c6ab0..e3d1675 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.1.4