[Koha-bugs] [Bug 4530] Circulation & fines rules aren't always applied from most specific to less specific

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 30 21:14:34 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4530

--- Comment #14 from Melia Meggs <melia at bywatersolutions.com> 2011-12-30 20:14:34 UTC ---
This patch applies, and I have attempted to test, but I need some help with
testing this one because it's pretty complicated.

Here's what I did.  (Srdjan has pointed out that this test plan is too simple,
but I thought it'd be at least a place to start).  I set up circ/fines rules to
look like this:

For Main Branch
Patron Category | Item Type | Checkouts | Fine Amt | Suspension | Renewals |
Holds
       Child                 All                 6             .50             
 3                  3             3 
       Child               Book               5              .50              
2                  2             2 
       All                     All                3               .50          
    0                  0             0 

For South Branch
Patron Category | Item Type | Checkouts | Fine Amt | Suspension | Renewals |
Holds
       Child                Book              4               .50             
1                   1             1 


Then what I would expect to happen is: 
  -  If a child patron from the main branch tries to checkout a DVD, he can
check out up to 6, with 3 days fines suspension, 3 renewals and 3 holds. 
  -  If a child patron from the main branch tries to checkout a book, he can
check out up to 5, with 2 days fines suspension, 2 renewals and 2 holds. 
  -  If a child patron from the South branch tries to checkout a book, he can
check out up to 4, with 1 day fines suspension, 1 renewal and 1 hold. 
  -  If a child patron from the East branch tries to checkout a compact disc,
he can check out up to 3, with no fines suspension, no renewals and no holds. 

Here are my results
  -  If a child patron from the main branch tries to checkout a DVD, he can
check out up to 6 - FAIL? (I checked out 7 with no problem.)
with 3 days fines suspension - DIDN'T TEST (didn't know how to test suspension)
3 renewals - PASS
and 3 holds - NOT SURE (for some reason I couldn't place on anything while
testing, so I think something else was screwing that up... so I can't say one
way or the other about holds)
  -  If a child patron from the main branch tries to checkout a book, he can
check out up to 5 - PASS
with 2 days fines suspension - DIDN'T TEST
2 renewals - PASS
and 2 holds - NOT SURE
  -  If a child patron from the South branch tries to checkout a book, he can
check out up to 4 - FAIL? (I checked out 5 with no problem.)
with 1 day fines suspension - DIDN'T TEST
1 renewal - NOT SURE
and 1 hold - NOT SURE
  -  If a child patron from the East branch tries to checkout a compact disc,
he can check out up to 3 - FAIL? (I checked out 5 with no problem.)
with no fines suspension - DIDN'T TEST
no renewals - DIDN'T TEST
and no holds - NOT SURE

Sorry, those aren't very useful test results.  But if someone could help me fix
the holes in that test plan, I'd be happy to do more testing.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list