[Koha-bugs] [Bug 33404] New: Authorities imported from A3950 in encodings other than UTF-8 are corrupted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 4 15:18:46 CEST 2023


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

            Bug ID: 33404
           Summary: Authorities imported from A3950 in encodings other
                    than UTF-8 are corrupted
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: MARC Authority data support
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Bug 19436 altered the call for storing imported auths in the DB:

before-
my ($notmarcrecord, $alreadyindb, $alreadyinfarm, $imported, $breedingid)=
ImportBreedingAuth( $marcdata, 2, $serverhost[$k], $encoding[$k], $random,
'z3950' );

after-
my ($notmarcrecord, $alreadyindb, $alreadyinfarm, $imported, $breedingid)=
ImportBreedingAuth( $marcrecord, 2, $serverhost[$k], $encoding[$k], $random);

Note the record passed changes from "marcdata" to "marcrecord"

Marcdata is the original raw record, so saving with original encoding makes
sense

Marcrecord is the raw record converted to UTF-8 - but we save the original
encoding

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


More information about the Koha-bugs mailing list