[Koha-bugs] [Bug 34589] New: Update on bug 20256 is not idempotent

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 22 16:59:52 CEST 2023


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

            Bug ID: 34589
           Summary: Update on bug 20256 is not idempotent
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          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

The last commit attempted to make the update idempotent, however, it missed a
case.

If the update is run, then a patron has the permission removed, they will get
it again on a subsequent update.

We should check if the permission exists in the permissions table, and only
perform the first two updates if it does not

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


More information about the Koha-bugs mailing list