https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38962 Bug ID: 38962 Summary: Make bulkmarcimport.pl import records properly Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: magnus@libriotech.no QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz To reproduce in KTD: - Find a record in the staff client - Save the record as MARCXML - Import the record with bulkmarcimport.pl: perl /usr/share/koha/bin/migration_tools/bulkmarcimport.pl -b -v -m --file my_record.marcxml - Log into the database and look at the last record added: MariaDB [koha_kohadev]> select * from biblio_metadata where biblionumber = (SELECT max(biblionumber) FROM biblio_metadata)\G *************************** 1. row *************************** id: 442 biblionumber: 444 format: marcxml schema: MARC21 metadata: <?xml version="1.0" encoding="UTF-8"?> <record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd" xmlns="http://www.loc.gov/MARC21/slim"> <leader>00080 a2200049 4500</leader> <controlfield tag="005">20250124080114.0</controlfield> <datafield tag="999" ind1=" " ind2=" "> <subfield code="c">444</subfield> <subfield code="d">444</subfield> </datafield> </record> timestamp: 2025-01-24 08:01:14 record_source_id: NULL 1 row in set (0.000 sec) Only MARC fields 005 and 999 are present. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.