[Koha-bugs] [Bug 18152] New: UNIMARC bib records imported with invalid 'a' char in label pos.9

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 22 12:07:19 CET 2017


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

            Bug ID: 18152
           Summary: UNIMARC bib records imported with invalid 'a' char in
                    label pos.9
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: MARC Bibliographic record staging/import
          Assignee: gmcharlt at gmail.com
          Reporter: stephane.delaune at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

The standard UNIMARC requires than the 9th character (starting from 0) in
labels must be blank (while it may be 'a' in marc21)

the problem is that C4::Charset::SetMarcUnicodeFlag (called in particular when
we import a record) always add 'a' char in the 9th label'pos whereas it should
do it just for MARC21 and NORMARC (not for UNIMARC) :

C4::Charset::SetMarcUnicodeFlag add 'a' char in the 9th label character for
MARC21 and NORMARC (it's normal), but just before doing this it call
"$marc_record->encoding('UTF-8')" which is a MARC::Record function which, when
called with 'UTF-8' parameter, do only one thing : add 'a' char in the 9th
label character

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


More information about the Koha-bugs mailing list