]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 10 Jan 2022 15:05:23 +0000 (15:05 +0000)
commit8a927808e6cc04c0b2fc40c7d82f67231fc68b82
tree7a8c89763d0c9be3cf6b9c640d83d12799e3ae36
parent7a87c3ddb33ed561da194f717be49565e85e8af8
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>
(cherry picked from commit d17db253ea6ec2c96662aade8cb8d8b6665d768d)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
admin/searchengine/elasticsearch/mappings.pl