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@liblime.com ReportedBy: galen.charlton@liblime.com QAContact: koha-bugs@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.