Koha-clms/installer/data/mysql
Mark Tompsett 9c91b66ff6 Bug 14422: Typo in updatedatabase.pl
TEST PLAN
---------
 1) backup db
 2) git checkout -b my_3.6.x origin/3.6.x
 3) drop db and create blank one
 4) git reset --hard origin/3.6.x
 5) run web installer
 6) set HomeorHoldingBranchReturn system preference to 'holdingbranch'.
 7) create a Default checkout, hold rule
    home -> koha administration -> Circulation and fines rules
    -- I put 10 checkouts total and clicked 'Save'
    -- there currently is not 'returnbranch' in default_circ_rules.
 8) git reset --hard origin/3.20.x
    -- or whatever version you apply this to
       (3.8.x, 3.10.x, 3.14.x, 3.16.x, 3.18.x, or 3.20.x
        -- 3.21.00.008 deletes the systempreference involved)
 9) ./installer/data/mysql/updatedatabase.pl
10) check HomeorHoldingBranchReturn systempreference
    -- Currently says 'holdingbranch', but
       the value of 'returnbranch' in default_circ_rules is
       'homebranch'.
11) repeat steps 3-8
12) apply this patch
13) repeat steps 9-10
    -- Currently says 'holdingbranch', and
       the value of 'returnbranch' in default_circ_rules is
       'holdingbranch'.
14) run koha qa test tools

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Tested using 3.6.x install, updated to 3.8.x
Value is preserved
No errors

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Note: I haven't followed the test plan, but the fix is trivial.
Maybe it could worth to upate 3.21.00.008 and check the value of
HomeOrHoldingBranchReturn before deleting it.
We could raise a warning if HomeOrHoldingBranchReturn ==
'holdingbranch'.
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>

(cherry picked from commit 8c91ca7903)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
2015-07-16 09:36:15 +00:00
..
atomicupdate Updating database to version 3.18.07.001 2015-06-15 11:04:44 +12:00
de-DE Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-16 09:36:10 +00:00
en Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-16 09:36:10 +00:00
es-ES Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-16 09:36:10 +00:00
fr-FR Bug 13380: Add ORDER_CANCELLATION_REASON AV to all language files 2015-03-17 21:00:12 +13:00
it-IT Bug 13855 - Fastadd framework has 2x 100$c, missing 100$a 2015-03-31 18:27:32 +13:00
mandatory Bug 14285: Bengali locale needs to be re-defined 2015-06-08 16:02:58 +12:00
nb-NO Bug 13380: Add ORDER_CANCELLATION_REASON AV to all language files 2015-03-17 21:00:12 +13:00
pl-PL Bug 4925: Remove Smithsonian as a delivered z39.50 target 2015-07-16 09:36:10 +00:00
ru-RU Bug 11954 - Clean up currency default files 2015-02-14 19:57:02 +13:00
uk-UA Bug 11954 - Clean up currency default files 2015-02-14 19:57:02 +13:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 14350: Missing statement in kohastructure.sql - DROP TABLE IF EXISTS borrower_sync 2015-06-19 15:11:42 +12:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-22 11:28:36 +12:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-22 11:28:36 +12:00
sysprefs.sql Bug 13984: CardnumberLength missing in sysprefs.sql 2015-05-17 16:29:27 +12:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 14422: Typo in updatedatabase.pl 2015-07-16 09:36:15 +00:00