https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42404

--- Comment #50 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 209369
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209369&action=edit
Bug 42404: (follow-up) Log item cover imports as item covers

When importing with target=item_id, the action log entry said "biblio
cover image" like for biblio level covers. This patch logs
"item <itemnumber> cover image" in that case. The log object is still
the biblionumber.

It also adds tests for the item_id target, which was not covered: item
lookup, missing items, replacing item covers without touching the
biblio level ones, and the log entry.

Test plan:
1. Apply patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Koha/BackgroundJob/BatchImportCoverImages.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Assisted-by: Opus 5.5 (Anthropic)

-- 
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/

Reply via email to