[Koha-bugs] [Bug 26528] New: Koha return no result if there's invalid records in Z39.50/SRU server reply

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 24 10:11:16 CEST 2020


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

            Bug ID: 26528
           Summary: Koha return no result if  there's  invalid records in
                    Z39.50/SRU server reply
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Z39.50 / SRU / OpenSearch Servers
          Assignee: didier.gautheron at biblibre.com
          Reporter: didier.gautheron at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

When searching for authorities if an authorities server reply has invalid
records none are displayed.

At least french BNF SRU server doesn't fully follow norm and can return an
error confusing Koha protocol handler which then returns an empty MARC record.

This patch silently removed bogus records.

Test plan:
1- Add BNF SRU
2- Go to authorities page
3- Add an authority
4- Search for keyword(any) droits de l'homme
5- No result (Internal Server Error)
6- Apply patch
7- restart starman
8- redo 4
9- Many records are displayed

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


More information about the Koha-bugs mailing list