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

--- Comment #1 from Kyle M Hall <[email protected]> ---
Created attachment 132349
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132349&action=edit
Bug 30386: Prevent search errors if deleted record still remains in search
indexes

If a bib is deleted, but for some reason doesn't get deleted from the search
indexes, any search where that record is a result will produce the error:

Can't call method "items" on an undefined value at
/usr/share/koha/lib/C4/Search.pm line 2064.

Test Plan:
1) Enable item-level_itypes
2) Create 3 records in Koha that share a word
3) Search for that word, note your 3+ results
4) Delete one of those recordst from the database using koha-mysql
5) Search for the word again
6) Note the error!
7) Apply this patch
8) Search for the word again
9) Note you get results!

-- 
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