Bug 29085 - Add an alert when deleting a vendor linked to a subscription
Summary: Add an alert when deleting a vendor linked to a subscription
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-22 19:33 UTC by Marjorie Barry-Vila
Modified: 2024-05-24 17:32 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marjorie Barry-Vila 2021-09-22 19:33:19 UTC
Hi,

Currently (20.05), when deleting a vendor, there is no alert to check if a subscription is linked to the vendor.

if the vendor is deleted anyway, in the subscription, the vendor box is empty but the booksellerid remains visible.

When editing a subscription, an error message appears because the vendor is no longer found.

see the following video https://www.screencast.com/t/5oi85cCFGclS

Can an alert be added to mean that the vendor should not be deleted as it is used in a subscription?

Regards,

Marjorie
Comment 1 Katrin Fischer 2022-07-17 11:43:41 UTC
This is still valid on master. 

I think we should have a warning/confirmation message at least.

If the vendor is deleted, the aqbooksellerid column in subscription should be set to NULL.
Comment 2 Koha collecto 2024-05-24 17:32:01 UTC
+1