]> git.koha-community.org Git - koha.git/commit
Bug 26734: (follow-up) Replace db update with backup and default
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 3 Feb 2021 14:49:04 +0000 (14:49 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 27 Apr 2021 14:23:49 +0000 (16:23 +0200)
commit0bdfedc13e63f3e70ace2eac37b04307cd39d75b
treea3e1c6453d8ca92c6c7fdd7d31d30ed854018f3c
parente6ed0c7151ed0e5de137a9ad17daf3a6d17aa39b
Bug 26734: (follow-up) Replace db update with backup and default

The inline update of variable for the notice template was proving
troublesome.. this patch replaces it was a backup of the existing notice
followed by replacing the notice with the default.

Test plan
1/ Run the database update
2/ Check that the templates have been replaced by the defaults (for all
languages enabled)
3/ Check that a backup of the original notices was made by naviagating
to view the action log (/tools/viewlog.pl) and selecting 'all modules' +
'all actions'

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_26734.perl