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

--- Comment #18 from Katrin Fischer <katrin.fisc...@bsz-bw.de> ---
Created attachment 23237
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23237&action=edit
[SIGNED OFF] 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)

Signed-off-by: Katrin Fischer <katrin.fischer...@web.de>

- All tests and QA script pass after applying the patch.
- Verfied that sample record is not searchable before applying
  patch, but can be searched without problems after applying it.
- Tested authority searching still workds as expected.
- Tested bilbiographic searching still works as expected.
  - Simple search, also truncated search terms
  - Facetting
  - Advanced search, also itemtype and pubyear limits
- Tested dontmerge preference, editing a linked authority and
  confirming the change is made to the linked records as well.

-- 
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