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

--- Comment #14 from Tomás Cohen Arazi <tomasco...@gmail.com> ---
Created attachment 23033
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23033&action=edit
Bug 11096: wrap MARC::Record->new_from_xml call with eval

Catch situations where MARC::Record would croak for bad-formed records.

To test:
- Run prove t/db_dependent/Search.t
- It will fail at test 65 [1]
- Apply the patch, it will warn for some failing records,
 but the tests will run smoothly.

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba

[1] a record that cannot be parsed by MARC::Record is simply skipped (bug
10684)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to