Summary: | bulkmarcimport.pl fails to import large files | ||
---|---|---|---|
Product: | Koha | Reporter: | Janusz Kaczmarek <januszop> |
Component: | Command-line Utilities | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | domm, glasklas, martin.renvoize, robin, schodkowy.omegi-0r |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
Janusz Kaczmarek
2025-04-03 08:01:18 UTC
AFAIK (after some discussions on Koha Hackfest) the reason for the double loop was to validate all the records before importing them. It seems that in the old behaviour, bulkmarcimport could die in the middle of processing (when hitting an invalid MARC XML), leaving you with an unknown number of imported records, and no info which record actually is broken. But loading all the records into an array does not work with big files. See also Bug 37020 |