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

--- Comment #1 from Emmi Takkinen <[email protected]> ---
Created attachment 202321
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202321&action=edit
Bug 43150: Prevent deleting too many holidays

When one deletes holidays on range sometimes too many holidays are
deleted. This happens because array @holiday_list is not reseted to
an empty array so previously created/deleted/modif holidays are never
cleared from plack workers memory. Same happened with adding new
holidays and it was fixed on bug 38357.

To test
1. Make sure you have plack running.
2. Create three single holidays on a range.
3. Now delete last two of the just added holidays, use " Delete the
single holidays on a range." tool.
=> Note that all holidays were deleted.
4. Apply this patch, restart services.
5. Repeat steps 2. and 3.
=> Note that now only holidays on given range were deleted.

Sponsored-by: Koha-Suomi Oy

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to