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

--- Comment #13 from David Gustafsson <[email protected]> ---
I have now modified the patch so that items will be stripped also when adding
new biblios. You will still get an error message when adding an exported biblio
with existing items since the item ids will cause a duplicate primary key
constraint error.

If understanding this correctly this should be considered "better" or in line
with the current behavior of the script since the unmodified script will bail
out even earlier with a different error (triggered by not saving the marc when
attempting to load it). Even if the current script would get past that (which
it would if removing the "defer_marc_save" option) you would still get the
exact same error since AddItemBatchFromMarc would be called on the $record with
updated internal bibio ids but with the same item-ids.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to