]> git.koha-community.org Git - koha.git/commit
Bug 33567: Add a dbrev for installation with empty pref
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 20 Apr 2023 06:52:50 +0000 (06:52 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 12 May 2023 14:22:42 +0000 (11:22 -0300)
commit17704ae2334b2da16dc9983bf5d45efd4d799e5b
treee51fb98d3b7a5b1be52837c83a1743cde7395978
parent69bce3a706565878184c70cd5a29dbfa7088dcad
Bug 33567: Add a dbrev for installation with empty pref

To keep current behavior, we can copy the removed fallback
into the syspref value in case someone might have cleared the pref.

Note: We are not restoring deleted prefs here; that is a data problem
outside the scope of this report. A regular installation should always
have this pref.

Test plan:
Run updatedatabase.pl
Bonus: Clear the pref Reference_NFL_Statuses and run again, verify that
the pref has changed.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/bug_33567.pl [new file with mode: 0755]