]> git.koha-community.org Git - koha.git/commit
Bug 31086: (QA follow-up) Improve atomicupdate to be more resilient
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 22 Jul 2022 09:05:55 +0000 (10:05 +0100)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Mon, 12 Sep 2022 11:59:21 +0000 (13:59 +0200)
commit3683037c3bc603c694effbf54ff8a56cd0c84480
tree93caa005376fac5f1e3c92a4ae8697587ae4c077
parentd7808795650bdef6b6adcc0079373f70b07ad4ea
Bug 31086: (QA follow-up) Improve atomicupdate to be more resilient

We now populate the branchcode field with the first available branch on
the system if we find it to be NULL before we set the NOT NULL

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5fa510b431c043671c7bcb73c431c60aac0039ed)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 13a3b0be9c0ba1a2dfc33cdf8b4845fefdb372d1)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
installer/data/mysql/atomicupdate/bug_31086_do_not_allow_null_branchcode_in_reserves.pl