Bugzilla – Attachment 58276 Details for
Bug 17791
On UNIMARC system, USMARC field 100$a gets overwritten when importing from MARC21 target
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch changes the context of Z39.50 search from local to remote server marc flavour
0001-Bug-17791-On-UNIMARC-system-USMARC-field-100-a-gets-.patch (text/plain), 1.41 KB, created by
Oleg Vasylenko
on 2016-12-19 21:52:28 UTC
(
hide
)
Description:
Patch changes the context of Z39.50 search from local to remote server marc flavour
Filename:
MIME Type:
Creator:
Oleg Vasylenko
Created:
2016-12-19 21:52:28 UTC
Size:
1.41 KB
patch
obsolete
>From 13533b382328737bb17a89464c0431ff9cc2f7f7 Mon Sep 17 00:00:00 2001 >From: Oleg Vasylenko <synapse.ova@gmail.com> >Date: Mon, 19 Dec 2016 23:44:03 +0200 >Subject: [PATCH] Bug 17791 - On UNIMARC system, USMARC field 100$a gets > overwritten Patch changes the context of Z39.50 search from local to remote > server >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Steps to Reproduce: >1) On UNIMARC system, go to Cataloguing â New from Z39.50/SRU >2) Search USMARC server (Library of Congress, for example) for a book, that has field 100 (for example, isbn 0816310653) >3) On results list, press «MARC» to see MARC fields > >Expected Results: >Name of the author in 100$a >--- > C4/Breeding.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Breeding.pm b/C4/Breeding.pm >index ee14c81d7c..4d0a230373 100644 >--- a/C4/Breeding.pm >+++ b/C4/Breeding.pm >@@ -271,7 +271,7 @@ sub _handle_one_result { > $marcrecord= MARC::Record->new_from_xml( $raw, 'UTF-8', > $servhref->{syntax} ); > } else { >- ($marcrecord) = MarcToUTF8Record($raw, C4::Context->preference('marcflavour'), $servhref->{encoding} // "iso-5426" ); #ignores charset return values >+ ($marcrecord) = MarcToUTF8Record($raw, $servhref->{syntax}, $servhref->{encoding} // "iso-5426" ); #ignores charset return values > } > SetUTF8Flag($marcrecord); > my $error; >-- >2.11.0.windows.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17791
:
58276
|
68165
|
176866