https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43168 Bug ID: 43168 Summary: Incorrect error output when staging a file Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- To recreate: 1 - tail -f /var/log/koha/kohadev/intranet-error.log 2 - Stage a marc file 3 - Note the error: ==> /var/log/koha/kohadev/intranet-error.log <== [2026/07/23 19:11:37] [WARN] The following error(s) occurred during ISO2709 record import: ERROR: Koha::ImportBatch::try {...} /kohadevbox/koha/Koha/ImportBatch.pm (105) It seems we get errors as a return from C4::ImportBatch::RecordsFromISO2709File in the routine we define the array variable, and return a ref - which evaluates as 'true' perl -e 'my @errors; $errors = \@errors; warn $errors if $errors;' -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.