[Koha-bugs] [Bug 24289] Deleting branch will not delete entry in special holidays

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 26 11:49:09 CET 2019


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 96630
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96630&action=edit
Bug 24289: Add foreign keys on *_holidays.branchcode tables

Those are missing foreign keys, it will also clean the holidays tables
and automatically remove the holidays when a library is removed.

Test plan:
0. Do not apply this patch
1. Create a new library
2. Create special and repeatable holiday for this library
3. Remove the library
=> Notice that the holidays still exist in DB
4. Apply this patch
5. Execute the update database entry
=> Notice that the holidays for this library have been removed from the DB
6. Repeat 1-3
=> Notice that the holidays have been removed along with the library

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


More information about the Koha-bugs mailing list