]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 18 Sep 2023 21:45:38 +0000 (11:45 -1000)
commitc8cec2c52f03a844b23ff7310bda5a6d11e987ca
treee98215b84e9905963a98791940cc1d7ba39af04e
parentb9ad842dee52633e5ae840c206a2c7588cf5b5dd
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>
(cherry picked from commit d4be7b10aca91a5af3e9614f465429c78a28fb13)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Calendar.pm