[Bug 6387] New: remove_items_from_biblioitems.pl doesn't handle errors
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@gmail.com ReportedBy: jcamins@cpbibliography.com QAContact: koha-bugs@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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6387 Ian Walls <ian.walls@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian.walls@bywatersolutions. | |com --- Comment #1 from Ian Walls <ian.walls@bywatersolutions.com> 2011-05-24 17:38:18 UTC --- This looks like an issue with MARC::Record, not necessarily remove_items_from_biblioitems.pl. I see this line in MARC::Record 2.0.2 and possible 2.0.3 remove_items_from_biblioitems.pl has an error handling method built in to report any biblionumber that fails to parse, but it looks like this undefined subroutine error is preventing the code from reaching that point of error reporting. -- 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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6387 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Jared Camins-Esakov <jcamins@cpbibliography.com> 2012-01-06 20:55:08 UTC --- Marking this bug invalid based on Ian's comment. -- 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. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org