[Koha-bugs] [Bug 17791] On UNIMARC system, USMARC field 100$a gets overwritten

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 20 09:58:14 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17791

Oleg Vasilenko <synapse.ova at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--- Comment #4 from Oleg Vasilenko <synapse.ova at gmail.com> ---
Hi Zeno,

This change is normal if you access UNIMARC record on Unimarc server. But the
problem is that this is changed before XSLT conversion. 

I do xslt conversion, but it converts this already changed string. You can
check by yourself
https://github.com/Gelow/unimarc/blob/master/marc21xml2unimarc.xsl
MARC view in Z39.50 search results shows the record as it is.

Koha code works the way, that it first converts codepage, and after that
changes the subfield where it is stated, that it is UTF-8. But the problem is
that it thinks that the record is in unimarc format, so it changes 100$a.

The patch uses server flavour, that is stated in Z39.50 servers table. That way
everythig works fine. Function, that do codepage conversion understands that
this record is USMARC (as stated in Z39.50 server table), and it changes
leader, not 100$a. Because information about codepage is located in different
places in these flavours.

You can see that this problem is present in different koha versions. But the
patch is prepared for current master

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


More information about the Koha-bugs mailing list