https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42795

--- Comment #6 from Lucas Gass (lukeg) <[email protected]> ---
Created attachment 200171
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200171&action=edit
Bug 42795: [25.11] Don't try to update ES mappings if not using ES

This patch wraps a condition around an Elasticsearch mappings update so it only
runs if the SearchEngine is set to Elasticsearch.

To test (assumes you are running KTD):

1. git checkout v25.11.04-1
2. reset_all (so your dev environment is happily running 25.11.04)
3. sudo service memcached restart && sudo service koha-common restart
4. Log into the staff interface. Go to Koha Administration -> System
preferences and search for SearchEngine. Change this to Zebra if not already
set.
5. git checkout v25.11.05-1
6. sudo koha-upgrade-schema kohadev
7. Confirm all updates apply as expected

To be thorough, run through test plan again, this time changing the
SearchEngine setting to Elasticsearch.

Sponsored-by: Catalyst IT
Signed-off-by: Lucas Gass <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to