[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
Wed Jan 15 20:21:51 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24289
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #96630|0 |1
is obsolete| |
Attachment #96631|0 |1
is obsolete| |
Attachment #96632|0 |1
is obsolete| |
--- Comment #4 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 97410
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97410&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