[Koha-bugs] [Bug 26000] New: Holiday exceptions are incorrectly cached for an individual branch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 16 20:14:02 CEST 2020


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

            Bug ID: 26000
           Summary: Holiday exceptions are incorrectly cached for an
                    individual branch
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

When updating exception holidays they are cleared from the cache until
Koha::Calendar->exception_holidays is called

That routine checks the cache, and then generates the holidays for a single
branch and sets them in the cache. This is incorrect.

single_holidays handles the situation correctly and exception_holidays should
do the same.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list