[Koha-bugs] [Bug 26231] New: bulkmarcimport.pl does not import authority if it already has a 001 field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 18 04:17:07 CEST 2020


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

            Bug ID: 26231
           Summary: bulkmarcimport.pl does not import authority if it
                    already has a 001 field
 Change sponsored?: ---
           Product: Koha
           Version: 19.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: MARC Bibliographic record staging/import
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org

I'm trying to import authorities which already have a 001 and bulkmarcimport.pl
says that it's worked but it hasn't actually imported anything and no errors
have been thrown.

I'm using this command:

koha-shell -c "perl /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -file
/home/dcook/auth.mrc -a -fk -d -v -l /tmp/auth.log" <instance>

It appears to be because the value from the 001 is being passed to
AddAuthority() which - instead of adding the authority - is trying to update an
existing authority.

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


More information about the Koha-bugs mailing list