]> git.koha-community.org Git - koha.git/commit
Bug 33300: Wrong system preference name AutomaticWrongTransfer
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 22 Mar 2023 08:54:17 +0000 (22:54 -1000)
committerJacob O'Mara <jacobomara901@gmail.com>
Wed, 10 May 2023 12:43:52 +0000 (13:43 +0100)
commiteb72a8d486f26cbdc2501ec688c764ec4b475866
treed7e382258a077ac98d5b2378c47d3cdd2740a58b
parentbc4b29dfaa064c57644b59f73de547be2b5335c7
Bug 33300: Wrong system preference name AutomaticWrongTransfer

Bug 29792 added a DBRev with new system preference 'AutomaticConfirmTransfer'.

But name in installer/data/mysql/mandatory/sysprefs.sql is wrong 'AutomaticWrongTransfer'

Test plan :
Create a new database and check there is in table systempreferences an
entry with variable='AutomaticConfirmTransfer'

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Bug 33300: (follow-up) DBRev for existing databases

Test plan :
1.1) Start from a Koha 22.05
1.2) Upgrade to master
=> Check the upgrade says :
   Wrong system preference 'AutomaticWrongTransfer' renamed 'AutomaticConfirmTransfer'
2.1) Start from a Koha 22.05
2.2) Upgrade to 22.11
2.3) Via interface change system preference 'AutomaticConfirmTransfer' and save
2.4) Upgrade to master
=> Check the upgrade says :
   Wrong system preference 'AutomaticWrongTransfer' deleted

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit eec4921552411817acba4588694ed7511c604e0d)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
installer/data/mysql/atomicupdate/bug_33300.pl [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql