]> git.koha-community.org Git - koha.git/commit
Bug 29790: Restore warning if deletion of serial item fails
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 4 Jan 2022 14:59:15 +0000 (15:59 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 14 Jan 2022 14:03:46 +0000 (09:03 -0500)
commit86721993f82a1cbed945231a6614b009449f3903
tree98ba4af7767609bc58af7984cc66576aa355e012
parentb85e3cb81181529698e39219fe5ccc9b62c7e243
Bug 29790: Restore warning if deletion of serial item fails

If the deletion of a serial item failed, the UI did not provide a warning/error message.

Test plan:
0. Create a new subscription with "Create an item record when receiving
this serial"
1. Receive a new item, set a barcode
2. Check it out
3. Select the item you have received in the serial item list (page
"Serial collection information") and click "Delete selected issues"
4. Tick "Delete the associated items" and confirm the deletion
=> Without this patch the deletion fail but the UI does not warn it
=> With this patch applied you see a warning "one or more associated
items could not be deleted at this time."

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
serials/serials-collection.pl