Bug 19426 - Single Branch Exception to a Repeating Holiday Affects Closed Branches
Summary: Single Branch Exception to a Repeating Holiday Affects Closed Branches
Status: RESOLVED DUPLICATE of bug 26000
Alias: None
Product: Koha
Classification: Unclassified
Component: Holidays (show other bugs)
Version: 16.11
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-06 13:57 UTC by Chris Slone
Modified: 2020-07-17 14:30 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slone 2017-10-06 13:57:18 UTC
Scenario:

You have some branches that are open every day of the week, and several that are closed on Sundays all year round. Due to the fact that these Sunday closures do not affect every location, each branch that is closed on Sundays has its own repeating holiday set up. However, if you add an exception for a single branch to this holiday it will affect the due dates for the items being checked out from any of the other branches that are still closed that day. This is despite the fact that the calendar for the closed branches still lists them as being closed.

To test:

1.) Set the "useDaysMode" preference to "calculate the due date using the calendar to push the due date to the next open day."
2.) Create a repeating holiday (individually) for two or more branches.
3.) Add an exception to this repeating holiday for one of the branches.
4.) Confirm that the exception is shown only for the intended branch.
5.) Log-in to the branch to which you did not add the calendar exception and checkout an item that should get pushed forward to be due the day after the repeating holiday
     - For example, you have the repeating holidays on Sunday, are logged-in on a Thursday, and checkout an item that circulates for three days, which should then get pushed from being due on Sunday to Monday
6.) Confirm that the item was made to be due on the repeating holiday for that branch instead of the day after
Comment 1 Nick Clemens 2020-07-17 14:30:49 UTC
This is related to incorrect caching - it's the opposite case of the one described on 26000 - the site with exceptions gets cached first and affects all other branches

*** This bug has been marked as a duplicate of bug 26000 ***