[Bug 8698] New: OPAC export "Save Record" for Dublincore XML for some records triggers error logs.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8698 Priority: P5 - low Change sponsored?: --- Bug ID: 8698 Assignee: oleonard@myacpl.org Summary: OPAC export "Save Record" for Dublincore XML for some records triggers error logs. Severity: enhancement Classification: Unclassified OS: All Reporter: mtompset@hotmail.com Hardware: All Status: NEW Version: unspecified Component: OPAC Product: Koha opac-export.pl: Argument "\\x{20}" isn't numeric in numeric eq (==) at /usr/share/perl5/MARC/Crosswalk/DublinCore.pm line 541 When trying to "Save Record" from the OPAC details screen, the error given in the summary is triggered. It doesn't happen for every record. And despite the error in the error log, output is returned: --- BEGIN DUBLIN CORE XML --- <?xml version="1.0" encoding="UTF-8"?> <metadata xmlns="http://example.org/myapp/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://example.org/myapp/ http://example.org/myapp/schema.xsd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"><dc:Title>Ibatan to English dictionary with English, Filipino, Ilokano, Ivatan indices / compiled by Judith Y.M. Maree, Orlando R. Tomas and Rundell D. Maree. book</dc:Title> <dc:Title>Ibatan dictionary</dc:Title> <dc:Creator>Maree, Judith Y. M. 378</dc:Creator> <dc:Creator>Tomas, Orlando R. 381</dc:Creator> <dc:Creator>Maree, Rundell D. 382</dc:Creator> <dc:Creator>Summer Institute of Linguistics. 34</dc:Creator> <dc:Subject>17 Batan language Dictionaries 379</dc:Subject> <dc:Subject>17 Philippine languages Batan language 380</dc:Subject> <dc:Description>Includes bibliographical references (p.371-501) and index.</dc:Description> <dc:Publisher>Manila : SIL Philippines,</dc:Publisher> <dc:Date>c2012.</dc:Date> <dc:Date>c2012.</dc:Date> <dc:Date></dc:Date> <dc:Type>Text</dc:Type> <dc:Format>xv, 501 p. ;</dc:Format> <dc:Identifier>http://www.sil.org/asia/Philippines/online/ivb/dict/</dc:Identifier> <dc:Language>eng</dc:Language> <dc:Language>ivbeng</dc:Language> <dc:Language>Ibatan, English, Filipino, Ilokano and Ivatan</dc:Language> </metadata> --- END DUBLIN CORE XML --- I find it strange that three dates are returned and yet, there is only one date entered (c2012.). This record does not have an items record, as it is electronically available for free at the URL provided. UPDATE: My colleagues must have added an items record, because they probably printed a copy. Now there's a new, additional error: [Wed Aug 29 13:16:59 2012] [error] [client 192.168.100.2] [Wed Aug 29 13:16:59 2012] opac-export.pl: Use of uninitialized value in string eq at /usr/share/perl5/MARC/Crosswalk/DublinCore.pm line 535. It may be a data error, but I'm not sure where to look. Suggestions? Better error messages? :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8698 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|OPAC |MARC Bibliographic data | |support Version|unspecified |master Assignee|oleonard@myacpl.org |gmcharlt@gmail.com Severity|enhancement |normal --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- I tried testing this after importing the Library of Congress's version of this record and I can't reproduce this error in master. If this error happens with a specific version of Koha, please update the bug's version information. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8698 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #2 from M. Tompsett <mtompset@hotmail.com> --- I decided to attempt it again more recently. It seems to have corrected itself. I can't duplicate it anymore. I suppose whatever code that was causing this problem was corrected between versions in use (3.6.3 tarball, if I recall, vs. 3.14 custom-rolled packages). -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org