https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42404
--- Comment #17 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 200836 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200836&action=edit Bug 42404: (follow-up) Fix GD exception handling, logger, and empty mapping detection - Wrap GD::Image->new() in eval{} so a die from a malformed image is caught per-image rather than aborting the entire job via the outer catch block; images_failed and step() are now always updated correctly on GD errors. - Add Koha::Logger->get->error/warn calls in all catch blocks so operators have server-side detail while users see a sanitized message. - Add _finish_failed() helper that correctly stores messages and the report before setting status to 'failed', fixing the pre-existing issue where early-exit paths called status('failed')->store without calling finish(). - After mapping parsing, fail the job (not silently succeed with 0 imported) when no valid mappings are found, including the case where all lines had unrecognised delimiters. - Update tests accordingly. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
