]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 8 Aug 2023 06:04:15 +0000 (20:04 -1000)
commit00fc50a1f6af3b94e60b06c7edb0588974d6b1fd
tree425ed1d923c35d0fa936add64549faf67b35f8fe
parent32bddca28690bb05695d3e25fbd5764b7af0a06d
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>
(cherry picked from commit 0199f5fbbb50cbc4656cbeb73c269a7cc6718e55)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/atomicupdate/fix_calc_fines_fr-currency_21-11-MT39815.pl