[Koha-bugs] [Bug 30324] New: Parent and child itemtype checkout limits not enforced as expected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 21 16:25:51 CET 2022


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

            Bug ID: 30324
           Summary: Parent and child itemtype checkout limits not enforced
                    as expected
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrew at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
        Depends on: 21946

When creating rules or parent and child item types, checkout limits are
enforced confusingly.

To recreate:
1: have an itype BK
2: create an itype BK2, set BK as the parent to BK2
3: create a circ rule for All Patrons, item type BK (displays as "Books (All)"
in the circ rules interface), setting total checkouts to 1
4: do not create any rule specifically for the BK2 itype
5: have some BK items and some BK2 items
6: check a BK item out to a patron
7: check a BK2 item out to the same patron, observe you are not blocked from
doing so
8: try to check out a second BK2 item to the same patron, get message "Too many
checked out. 1 checked out, only 1 are allowed."
9: try to check out a second BK item to the same patrons, get message "Too many
checked out. 2 checked out, only 1 are allowed."

10: return both items
11: check a BK2 item out to your patron
12: try to check a BK item out to your patron, get message "Too many checked
out. 1 checked out, only 1 are allowed."

We're somehow not enforcing parent/child rules reciprocally. That forces me to
explicitly define my child checkout limit, defeating some of the point of the
enhancement from bug 21946.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21946
[Bug 21946] Group circulation by item type
-- 
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