[Koha-bugs] [Bug 35591] bulkmarcimport.pl overwrites data if controlnumber eq authid

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 23 16:55:45 CET 2024


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

--- Comment #5 from Thomas Klausner <domm at plix.at> ---
Here's some more info and tests for this bug:

* twin_040682714.xml is this GND record http://d-nb.info/gnd/4068271-7
("Zwilling", i.e. twin), but modified to have <controlfield
tag="001">1402</controlfield>, which matches the authid 1402 "Aristotle" in
koha-testing-docker

* auth_1402_pre_import.png is a screenshot of authid 1402 from
koha-testing-docker

* copy twin_040682714.xml to the root of your koha-testing-docker (so it will
be available inside the container)

* run: misc/migration_tools/bulkmarcimport.pl -m MARCXML -c utf8 -a --file
twin_040682714.xml --all --match isbn,001

(you can also run with --match, makes no difference, as long as --match does
not actually hit a match)

* auth_1402_post_import.png is a screenshot of authid 1402 after running
bulkmarcimport, showing that the authid 1402 now contains the data from
twin_040682714.xml

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