[Koha-bugs] [Bug 17608] Fix behaviour of bulkmarcimport.pl -insert

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 23 13:16:22 CET 2016


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

--- Comment #6 from David Gustafsson <glasklas at gmail.com> ---
I looked into the last issue a bit more. Tried adding items through the
interface and looking at the resulting marcxml in the database (and having a
look at the code base) and it seems to me like the items are never inserted
into the marcxml saved in the biblioitems table, but can be inserted on the fly
in some cases when fetching records, which seems reasonable. So in that case
bulkimportmarc is consistent with standard behavior. The thing that confused me
slightly is that there is an out-commented ModBiblioMarc in the
AddItemBatchFromMarc:
# update the MARC biblio
# $biblionumber = ModBiblioMarc( $record, $biblionumber, $frameworkcode );

If one would comment out, that I believe the items would actually be inserted
back into the database marcxml since the record has been modified (with items
added) previously in the sub.

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


More information about the Koha-bugs mailing list