[Koha-bugs] [Bug 3520] New: crash when adding or editing item record

bugzilla-daemon at liblime.com bugzilla-daemon at liblime.com
Tue Aug 11 16:46:12 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3520

           Summary: crash when adding or editing item record
           Product: Koha
           Version: HEAD
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Cataloging
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: gmcharlt at gmail.com
   Estimated Hours: 0.0
 Change sponsored?: ---


Adding or editing an item record in the staff interface results in the
following crash:

Can't call method "append_fields" on an undefined value at
/usr/local/share/perl/5.10.0/MARC/File/SAX.pm line 92.
 at /usr/local/share/perl/5.10.0/MARC/File/SAX.pm line 92

This is triggered if MARC::File::XML 0.91 or later is installed.  Investigation
showed that TransformHtmlToXml(), used to convert the item form input to a
MARCXML blob, was generating invalid XML by omitting the <record> element; as
of MARC::File::XML 0.91, MARC::Record->new_from_xml() now expects to be given a
valid MARCXML $blob, and crashes if it doesn't receive one.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list