[Koha-bugs] [Bug 14363] New: OAI-PMH should handle records without marcxml

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 8 15:16:11 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14363

            Bug ID: 14363
           Summary: OAI-PMH should handle records without marcxml
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Web services
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: sophie.meynieux at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

I know it should not happen, but sometimes it does, some biblioitems have got
an empty marcxml. 

In this case, OAI harvester fails with a software error :
<pre>Can't call method "as_xml" on an undefined value at
/home/koha/src/opac/oai.pl line 516.

Instead it should skip this record, output a message in log file, and correctly
harvest the other records.

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


More information about the Koha-bugs mailing list