From 428d432b66acdb725c610a775d6568db9998fd61 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 23 Jun 2017 07:59:04 +0200 Subject: [PATCH] Bug 18811: Atomic update to print warning at upgrade time The warning encourages people to run the auth_show_hidden_data script to check for data in hidden fields and adjust their frameworks. Signed-off-by: Marcel de Rooy Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- installer/data/mysql/atomicupdate/bug_18811.perl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_18811.perl diff --git a/installer/data/mysql/atomicupdate/bug_18811.perl b/installer/data/mysql/atomicupdate/bug_18811.perl new file mode 100644 index 0000000..09dedfa --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_18811.perl @@ -0,0 +1,9 @@ +$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"; +} -- 2.1.4