https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43168
--- Comment #3 from Jonathan Druart <[email protected]> --- Created attachment 202782 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202782&action=edit Bug 43168: Check if there are errors, not if variable defined $errors is an array ref returned from a blank array variable if( $errors ){ #this will be true if( scalar @$errors ){ #only true when array has members To test: 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) 4 - Apply patch 5 - Restart all 6 - Stage a file 7 - No error! Signed-off-by: Jonathan Druart <[email protected]> -- You are receiving this mail because: 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/
