https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43150
Bug ID: 43150
Summary: Deleting holidays on range may sometimes delete too
many holidays
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Tools
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---
Noticed while working on bug 24782. When modifying holidays on range sometimes
those modifications would seep into other holidays that aren't on given
timeperiod. Tested some more and this can also happen with deleting holidays on
range too.
This really tricky to reproduce and it doesn't occur all the time, but here's
one way to make this happen.
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.
=> Add holidays for different timeperiods and delete them, note how deleting
may affect holidays out of given timeperiod.
We had a same problem with adding new holidays and it was fixed on bug 38357.
This seems to be a same problem, @holiday_list is not reseted to an empty array
so previously created/deleted/modif holidays are never cleared from plack
workers memory.
--
You are receiving this mail because:
You are the assignee for the bug.
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/