From 96e747dca35ba717b7081030b7f4e34db48f0728 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 12 Sep 2017 12:04:50 -0300 Subject: [PATCH] Bug 18811: DBRev 17.05.00.006 Signed-off-by: Jonathan Druart (cherry picked from commit dc60c344768540c5e02c8e46e8ae43f7921d252a) --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_18811.perl | 9 --------- installer/data/mysql/updatedatabase.pl | 9 +++++++++ 3 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_18811.perl diff --git a/Koha.pm b/Koha.pm index 03e9965329..a387f9aece 100644 --- a/Koha.pm +++ b/Koha.pm @@ -29,7 +29,7 @@ use vars qw{ $VERSION }; # - #4 : the developer version. The 4th number is the database subversion. # used by developers when the database changes. updatedatabase take care of the changes itself # and is automatically called by Auth.pm when needed. -$VERSION = "17.05.05.000"; +$VERSION = "17.05.05.001"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_18811.perl b/installer/data/mysql/atomicupdate/bug_18811.perl deleted file mode 100644 index 09dedfa28c..0000000000 --- a/installer/data/mysql/atomicupdate/bug_18811.perl +++ /dev/null @@ -1,9 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - - print q{WARNING: Bug 18811 fixed an inconsistency in the visibility settings for authority frameworks. It is recommended that you run script misc/maintenance/auth_show_hidden_data.pl to check if you have data in hidden fields and adjust your frameworks accordingly to prevent data loss when editing such records.}; - print "\n"; - - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 18811 - Visibility settings inconsistent between framework and authority editor)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 4503ebfde4..39bf716a8d 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -14552,6 +14552,15 @@ if ( CheckVersion($DBversion) ) { print "Upgrade to $DBversion done (Koha 17.05.05)\n"; } +$DBversion = '17.05.05.001'; +if( CheckVersion( $DBversion ) ) { + print q{WARNING: Bug 18811 fixed an inconsistency in the visibility settings for authority frameworks. It is recommended that you run script misc/maintenance/auth_show_hidden_data.pl to check if you have data in hidden fields and adjust your frameworks accordingly to prevent data loss when editing such records.}; + print "\n"; + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 18811 - Visibility settings inconsistent between framework and authority editor)\n"; +} + # DEVELOPER PROCESS, search for anything to execute in the db_update directory # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.11.4.GIT