]> git.koha-community.org Git - koha.git/commit
Bug 32048: Added clear cache routine to delete_holiday_range_repeatable
authorLaura Escamilla <laura.escamilla@bywatersolutions.com>
Mon, 28 Aug 2023 14:20:17 +0000 (14:20 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 18 Sep 2023 18:31:50 +0000 (15:31 -0300)
commitd4be7b10aca91a5af3e9614f465429c78a28fb13
tree877a2715fb2aad9008536133f5232180dd3f80da
parentbda428399aa76057f0596883d5a619a27520a7c7
Bug 32048: Added clear cache routine to delete_holiday_range_repeatable

When adding and deleting holidays, holidays might return
unexpectedly.

To test:
1 - Enter a holiday repeated yearly on a range from the 1st of the month to the 5th
2 - Delete it
3 - Add a new holiday from the 20th to the 25th
4 - When saved, the holiday from the 1st to the 5th is also added again.
5 - Apply patch and restart_all.
6 - Repeat steps 1-3. Notice that the holiday from the 1st to the 5th is no longer added and it has properly been cleared from the cache.
7 - Sign off! :D

Signed-off-by: Salah Ghedda <salah.ghedda@inLibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Calendar.pm