[Koha-bugs] [Bug 30972] "Replace existing covers" checkbox in upload-cover-image.pl now replaces ALL covers for a biblio, not only the specific item's covers.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 16 12:32:55 CEST 2022


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

--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 136145
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136145&action=edit
Bug 30972: Don't replace biblio's local cover images when uploading an image's
image

When attaching a new cover image to an item we should not replace cover
images attached to the bibliographic record if "Replace existing covers"
is ticked.

Test plan:
Attach 1+ image to a bibliographic record
Attach 1 image to an item of this biblio
Attach another image to the item and seect "replace existing covers"
=> Without this patch the images attached to the biblio are removed
=> With this patch applied only the images attached to the image are
removed

Same if you tick the checkbox when attaching an image to the biblio

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list