[Koha-bugs] [Bug 11096] Koha cannot retreive big records from Zebra

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 6 13:26:06 CET 2013


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23236|0                           |1
        is obsolete|                            |
  Attachment #23237|0                           |1
        is obsolete|                            |

--- Comment #20 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 23337
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23337&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)

Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at 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.

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list