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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  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.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to