[Koha-bugs] [Bug 19687] Recent upgrade to 17.05.04.000 bulkmarcimport started to fail

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jul 8 20:48:19 CEST 2018


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

--- Comment #4 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Testing without items bulkmarcimport seems to mostly work (apart from the
update option, see bug 20811).

I also tested with a record exported from Koha with 3 items:

/home/vagrant/kohaclone/misc$ ./stage_file.pl --match 3 --file
../data/bib-69.utf8 --item-action replace --add-items
... staging MARC records -- please wait
... finished staging MARC records
... looking for matches with records already in database
Invalid normalization routine required (Biblionumber) at
/home/vagrant/kohaclone/C4/Matcher.pm line 874.
... finished looking for matches

MARC record staging report
------------------------------------
Input file:                 ../data/bib-69.utf8
Record type:                biblio
Number of input records:    1
Number of valid records:    1
Number of invalid records:  0
Number of records matched:  1
Number of items parsed:  3

Batch number assigned:  2


kohadev-koha at kohadevbox:/home/vagrant/kohaclone/misc$ ./commit_file.pl
--batch-number 2
... importing MARC records -- please wait
... finished importing MARC records

MARC record import report
----------------------------------------
Batch number:                    2
Number of new records added:     0
Number of records replaced:      1
Number of records ignored:       0
Number of items added:           0
Number of items replaced:        3
Number of items ignored:         0


Then I deleted the record and tried another import:

./stage_file.pl --match 3 --file ../data/bib-69.utf8 --item-action always_add
--add-items
./commit_file.pl --batch-number 4

Record and items were added.

Tested on master. I think we need more information to track this problem down.

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