[Koha-bugs] [Bug 6681] When importing a biblio record via Z39.50, authority links also get imported

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 27 14:21:50 CEST 2014


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

--- Comment #15 from simith.doliveira at inlibro.com ---
Created attachment 31181
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31181&action=edit
Bug 6681 - When importing a biblio record via Z39.50, authority links and items
also get imported.

This patch removes the content of subfield 9 for all authority headings and
items in biblios imported from a Z39.50 server.

Changes:

C4/Biblio.pm               - new function RemoveItemsAndAuthidsFromRecord added
acqui/neworderempty.pl     - calls new function
cataloguing/addbiblio.pl   - calls new function
t/Biblio.t                 - new tests added

Testing:

I Before applying the patch

0) Add a koha z39.50 server (Home › Administration › Z39.50 servers);
1) in Home > Cataloging click <<New from z39.50>>;
2) Import a record with an autority link (with zone 100 subzone 9 for example);
3) Validate: The record imported have zone 100, subzone 9;

II After applying the patch

1) in Home > Cataloging click <<New from z39.50>>;
2) Import a record with an autority link (with zone 100 subzone 9 for example);
3) Validate: The record imported don't have the subzone 9 in the zone 100;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list