[Koha-bugs] [Bug 6387] New: remove_items_from_biblioitems.pl doesn't handle errors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun May 22 22:23:56 CEST 2011


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

             Bug #: 6387
           Summary: remove_items_from_biblioitems.pl doesn't handle errors
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Installation and upgrade (command-line installer)
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: jcamins at cpbibliography.com
         QAContact: koha-bugs at lists.koha-community.org


The script remove_items_from_biblioitems.pl needed for upgrading from Koha 3.2
to 3.4 doesn't handle errors properly, and when there's a badly corrupted
record, it prints the following message and dies:
Undefined subroutine &MARC::Record::carp called at
/usr/share/perl5/MARC/Record.pm line 565.

At the very least, remove_items_from_biblioitems.pl should print a useful error
message, and ideally it should handle the error, rather than dying mid-way
through.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list