Bug 29745

Summary: Due dates via SIP2 wrong for unique holidays
Product: Koha Reporter: Magnus Enger <magnus>
Component: SIP2Assignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: 20.11   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Magnus Enger 2021-12-21 08:39:29 UTC
A library is reporting that they have added a "Holiday repeating yearly" (orange colour in the calendar) followed by some days of "Unique holiday" (light red colour). When self check machines do checkouts via SIP2, the "Holiday repeating yearly" is respected when calculating the due date, but not the "Unique holiday". For regular checkouts done in the staff interface, due dates are calculated as expected. If they change the "Unique holiday" days to "Holiday repeating yearly" it also works as expected. 

useDaysMode = Use the calendar to push the due date to the next open day
Comment 1 Katrin Fischer 2022-06-17 23:35:41 UTC
Hi Magnus, could this have been 
Bug 26871 - L1 cache still too long in SIP Server ?
Comment 2 Katrin Fischer 2023-06-25 09:33:42 UTC
Hi Magnus, does this problem persist with all the fixes to the caching?
Comment 3 Magnus Enger 2023-06-26 06:29:18 UTC
I have not heard more reports of this, I think we can close it. Thanks for asking!