]> git.koha-community.org Git - koha.git/commit
Bug 29436: ES mappings not saved if zebra is configured
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Nov 2021 15:04:45 +0000 (16:04 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 22 Dec 2021 06:49:53 +0000 (20:49 -1000)
commit401ce06ffe23bfb684038ed15328c1884a2e3d11
tree8f55cf67fdb8db6af02c9302cd2b3ccbc1ac3bdf
parentfc690e8f84a055a520b7b07460e06521cdcf9b23
Bug 29436: ES mappings not saved if zebra is configured

The mappings must be editable even if ES is not turned on yet.

Using a separate array to store the errors as we are testing for $@ ||
@messages.

There is still something wrong that should be improve, but this patch
should be safe for backport.

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
admin/searchengine/elasticsearch/mappings.pl