[Koha-bugs] [Bug 32174] New: bulkmarcimport.pl ignore items info when using -update

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 10 22:59:00 CET 2022


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

            Bug ID: 32174
           Summary: bulkmarcimport.pl ignore items info when using -update
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pablo.bianchi at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

Using this command:

/usr/share/koha/bin/migration_tools/bulkmarcimport.pl 
  -v 
  -insert 
  -biblios 
  -framework "BKS" 
  -file /home/me/books.mrc 
  -l /tmp/books.log

works fine. If changes are made (on normal fields and on 952) on MRC and then
we run:

/usr/share/koha/bin/migration_tools/bulkmarcimport.pl 
  -v 
  -match Control-number,001 
  -update 
  -biblios 
  -framework "BKS" 
  -file /home/me/books.mrc 
  -l /tmp/books.log

the information is update/overwritten, but *only at biblio level*. Item info
remains untouched.

The solution maybe could be to add a --add-items-if-match option. To include
-all option and have consistency with web interface --add-items-if-nomatch and
--add-items-always could be added.

-- 
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