[Koha-bugs] [Bug 28885] New: OpacBrowseResults can cause errors with bad search indexes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 19 16:49:10 CEST 2021


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

            Bug ID: 28885
           Summary: OpacBrowseResults can cause errors with bad search
                    indexes
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: kyle at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

If a record is deleted from Koha, but is for some reason not deleted from the
search indexes, OpacBrowseResults can cause an ISE if the deleted record is in
the search results for any given item. OpacBrowseResults loops through the
search results, and checks if there is a biblionumber, but does *not* check to
see if a result was pulled from the database for that biblionumber. It simply
assumes the result must exist.

We should be checking to ensure the biblionumber was valid before operating on
the biblio object.

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


More information about the Koha-bugs mailing list