]> 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)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Thu, 17 Aug 2023 15:56:37 +0000 (15:56 +0000)
commit30af01938cb7a038a81a19f2aa75c94929d29c98
tree3d3972a86a79bb6dee93e556d1e242a07d0ef120
parent1a340d0030da4b6bb797391fb2327fa51fcb0bc6
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>
(cherry picked from commit 00fc50a1f6af3b94e60b06c7edb0588974d6b1fd)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
installer/data/mysql/atomicupdate/fix_calc_fines_fr-currency_21-11-MT39815.pl