Koha-clms/installer/data/mysql
Mark Tompsett 65d406d3a6 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: Mason James <mtj@kohaaloha.com>
2015-07-26 01:20:10 +12:00
..
atomicupdate Bug 11867: MTT: Manage *_PHONE notices 2014-05-02 20:29:20 +00:00
de-DE Bug 12282: fix RESERVESLIP in German sample notices 2014-05-20 14:12:19 +00:00
en Bug 12275: Small corrections to English web installer 2014-05-19 22:13:06 +00:00
es-ES Bug 12251: fix error in sample_notices.sql (es-ES) 2014-05-16 02:45:21 +00:00
fr-FR Bug 11030 - Add 359, 947 and 969 fields in french unimarc_complete framework - followup 2014-07-23 21:18:18 +00:00
it-IT Bug 11954 - Clean up currency default files 2015-02-26 17:35:33 +13:00
nb-NO Bug 12209 - Fix currency symbol for NOK 2014-05-16 02:44:01 +00:00
pl-PL Bug 10845: Remove the notice code HOLD_PRINT in seed data 2014-05-02 20:29:19 +00:00
ru-RU Bug 11954 - Clean up currency default files 2015-02-26 17:35:33 +13:00
uk-UA Bug 11954 - Clean up currency default files 2015-02-26 17:35:33 +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 13523 - AddBiblio fails on mysql with STRICT_TRANS_TABLES 2015-03-26 14:27:39 +13:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sysprefs.sql Bug 11703 - Convert checkouts table to ajax datatable [3.16.x] 2014-08-15 00:10:49 +00: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-26 01:20:10 +12:00