]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Apr 2023 13:43:23 +0000 (10:43 -0300)
commiteec4921552411817acba4588694ed7511c604e0d
treeef4d6b6593e9f53ce56561a14ad02ec3627e4da4
parent201d7f9ac6519fc5003beaf0b756a9ec5e2884cd
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>
installer/data/mysql/atomicupdate/bug_33300.pl [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql