]> 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)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 7 Jan 2022 11:03:09 +0000 (06:03 -0500)
commitd17db253ea6ec2c96662aade8cb8d8b6665d768d
treebb79332b475cc99c70e79045f88ec5f6fc499b6e
parent00555c6fc442bdb5cd997d7d3961f4cf12116141
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
admin/searchengine/elasticsearch/mappings.pl