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

            Bug ID: 37425
           Summary: Deletion of biblio can cause search errors
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Staff interface
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Bug 35558 added a check to see if the associated biblio has local cover images,
however, when a biblio is deleted there is a delay in the background job
reindexing the biblio. This can lead to 500 errors when a search retrieves the
biblio before it has been removed from the index.

To recreate:
1 - Enabled system preference LocalCoverImages
2 - Perform a search in staff interface
3 - Find the biblionumebr for one of the results and delete it via the SQL
backend:
    DELETE FROM biblio WHERE biblionumber=3;
4 - Search again.
5 - KO!
    Can't call method "cover_images" on an undefined value at
/usr/share/koha/intranet/cgi-bin/catalogue/search.pl line 671.
6 - Reindex, confirm error is gone

-- 
You are receiving this mail because:
You are the assignee for the bug.
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