Bug 41036 - Koha::ImportBatch is not logging errors
Summary: Koha::ImportBatch is not logging errors
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Lari Taskula
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-16 17:15 UTC by Lari Taskula
Modified: 2025-10-16 17:19 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41036: Add tests (2.81 KB, patch)
2025-10-16 17:19 UTC, Lari Taskula
Details | Diff | Splinter Review
Bug 41036: Log errors in Koha::ImportBatch->new_from_file (1.24 KB, patch)
2025-10-16 17:19 UTC, Lari Taskula
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lari Taskula 2025-10-16 17:15:25 UTC
It would be very useful to have Koha::ImportBatch->new_from_file log errors.
Comment 1 Lari Taskula 2025-10-16 17:19:44 UTC
Created attachment 188020 [details] [review]
Bug 41036: Add tests

To test:
1. Apply only this patch, do not yet apply the next one
2. prove t/db_dependent/Koha/ImportBatch.t
3. Observe tests failing
Comment 2 Lari Taskula 2025-10-16 17:19:46 UTC
Created attachment 188021 [details] [review]
Bug 41036: Log errors in Koha::ImportBatch->new_from_file

To test:
1. prove t/db_dependent/Koha/ImportBatch.t
2. Observe success