[Koha-bugs] [Bug 29893] ElasticSearch Config UI deletes mappings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 9 19:16:01 CET 2022


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

--- Comment #11 from David Nind <david at davidnind.com> ---
Thanks Jonathan!

However, I am now getting these messages in yellow boxes above the "Search
engine configuration (Elasticsearch)" heading:

  "You attempted to delete all mappings for a required index, you must leave at
least one mapping"

  "An error occurred when updating mappings: ." 

This occurs any time the save button is clicked.

On the positive side, the mappings are no longer deleted. 

On the downside, you can't edit, add or delete any mappings.

Consolidated test plan:
1. In the staff interface go to Administration > Catalog > Search engine
configuration (Elasticsearch).
2. Select the authorities tab.
3. You should see ~67 entries.
4. Enter "Heading-Main" into the search field, you now see ~8 entries (filtered
from 67 entries).
5. Cick the save button.
6. Go back to the authorities tab.
7. You will now see ~8 entries - all the other entries were deleted!
8. Apply the patch, flush_memcached, restart_all, and you may also need to
clear your browser cache (or open a private window).
9. Repeat steps 1-7 - this time the expected number of entries should be
visible after clicking save (~67), that is, all the entries are not deleted
when you click save!
10. With mappings filtered and unfiltered, check that everything works as
expected if you:
    . Change an entry (for example: Authorities > Heading-Main, 155a - change
the Yess to Nos).
    . Delete an entry.
    . Add a new entry. (for example: Heading-Main, Yes for all options, 155b).
11. Sign off :D!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list