[Koha-bugs] [Bug 2659] New: OAI can crash if field not defined in MARC framework

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Mon Oct 6 03:39:25 CEST 2008


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2659

           Summary: OAI can crash if field not defined in MARC framework
           Product: Koha
           Version: HEAD
          Platform: PC
               URL: opac/oai.pl
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: OPAC
        AssignedTo: galen.charlton at liblime.com
        ReportedBy: galen.charlton at liblime.com
         QAContact: koha-bugs at lists.koha.org


When retrieving a record via the OAI-PMH interface, if one of the fields used
to prepare the DC metadata is not defined in the MARC framework (e.g.,
biblioitems.publicationyear in the default MARC21 framework), an OAI GetRecord
can fail with the following error:

> Can't call method "as_string" on an undefined value at
> /usr/share/koha/opac/cgi-bin/opac/oai.pl line 59.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Koha-bugs mailing list