]> git.koha-community.org Git - koha.git/commit
Bug 33028: (follow-up) Rewrite database update
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 16 Jun 2023 17:01:52 +0000 (17:01 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 19 Jul 2023 15:06:41 +0000 (12:06 -0300)
commit0199f5fbbb50cbc4656cbeb73c269a7cc6718e55
treeeb709e62082c46b244a4f5c3ab4dfc053a75ec47
parent3c2d40bb4a05687eca67a8e06befd5d43d0a4b9d
Bug 33028: (follow-up) Rewrite database update

This rewrite the database update with some things in mind:

* We now use a positive value list of allowed characters to check
  This makes sure that all of those are recognized:
  1,00
  1.00€
  abc
* Instead of dying after finding one wrong value, we loop through
  all values first, building up an error string
* When we have errors... we die and print the full list of things
  that need fixing.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/atomicupdate/fix_calc_fines_fr-currency_21-11-MT39815.pl