Koha-clms/installer/data/mysql
Katrin Fischer 1324646ff7 Bug 10490: Overdue fines cap can't store decimal values
When overduefinescap was added to the issuingrules the datatype
given was decimal. This translates in MySQL to decimal(10,0).
This doesn't allow you to store decimal values and therefore
values like 4.5 are saved as 5 in the database.

To test:

On a current installation:
1) Try to enter 4.5 as Overdue fines cap. Verify that the value
   is not correctly saved.
2) Apply patch and run database update.
3) Try adding/changing an issuing rule setting Overdue fines cap
   to 4.5 again.
4) Verify the value is saved correctly.

Create a new Koha installation from scratch:
1) Verify that the issuingrules table has been created correctly
   and that you can add/mofidy issuingrules correctly.

Because this bug can create data loss, the old database update
has also been changed to avoid this problem for people updating
at a later point in time. Checkout an older version of Koha
pre 3.09.00.027.

1) Run the database updates.
2) Verify again, that adding/modifying issuingrules works correctly.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 16c5794044)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 47df7c9641)

Conflicts:

	installer/data/mysql/updatedatabase.pl

Solved

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit 47df7c9641)

Conflicts:
	installer/data/mysql/kohastructure.sql
	installer/data/mysql/updatedatabase.pl

Signed-off-by: Chris Hall <followingthepath@gmail.com>
(cherry picked from commit 2727ca9512)
2013-08-18 17:41:26 +12:00
..
atomicupdate Merge remote-tracking branch 'kc/master' into merged_5549 2012-03-22 09:36:55 +13:00
de-DE Bug 8378 - followup - sample_notices.sql updated to <<items.fine>> 2013-03-29 20:14:51 +13:00
en Bug 8378 - followup - sample_notices.sql updated to <<items.fine>> 2013-03-29 20:14:51 +13:00
es-ES Bug 8378 - followup - sample_notices.sql updated to <<items.fine>> 2013-03-29 20:14:51 +13:00
fr-FR Bug 9519: fix code for Italian language search limiter 2013-08-18 16:38:07 +12:00
it-IT Bug 9519: fix code for Italian language search limiter 2013-08-18 16:38:07 +12:00
nb-NO Bug 8378 - followup - sample_notices.sql updated to <<items.fine>> 2013-03-29 20:14:51 +13:00
pl-PL Bug 9519: fix code for Italian language search limiter 2013-08-18 16:38:07 +12:00
ru-RU Bug 9519: fix code for Italian language search limiter 2013-08-18 16:38:07 +12:00
uk-UA Bug 9519: fix code for Italian language search limiter 2013-08-18 16:38:07 +12:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 10490: Overdue fines cap can't store decimal values 2013-08-18 17:41:26 +12: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
sample_only_param_tables.sql Moved location of updater scripts to dbms specific dir. 2007-11-13 11:22:47 -06:00
sysprefs.sql Bug 9341: Problem with UNIMARC authors facets 2013-03-29 19:10:36 +13:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-26 09:31:45 +12:00
updatedatabase.pl Bug 10490: Overdue fines cap can't store decimal values 2013-08-18 17:41:26 +12:00