Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
EPAM-Veg Sprint 120
-
3
-
Vega
-
R3 2021
Description
Overview: Loans that are declared lost without lost item fees charged, which means they are closed immediately, are still being included in counts for "Maximum number of items charged out" and "Maximum number of lost items". If the loan is declared lost with lost item fees charged, which the patron pays, the loan is closed and it not include in the counts for "Maximum number of items charged out" and "Maximum number of lost items". Any loan that is closed should not be counted. This bug was originally reported via MODPATBLK-19 which was closed as "Cannot Reproduce".
Steps to Reproduce:
- Login to Juniper bugfest as an admin.
- Locate a test patron with no items checked out. (Holly used Minnie Dotty Mouse (888777666) in Patron Group "AAA Patrons".)
- Check out 4 items to the patron as follows: 2 items with a Lost Item Fee Policy that charges no lost item fees and does not age 2 lost and 2 items with a Lost Item Fee Policy that charges lost item fees and does not aged to lost. (Holly used these items: 113039093 and 888888888 as items with no lost item fees and Retest5 and 888809 as items with lost item fees.)
- Go to Settings>Users>Patron blocks: Limits and set the "Maximum number of items charged out" to 4 and the "Maximum number of lost items" to 0 (as shown in attached screen print Patron-limits1.jpg).
- Go to User Details and note that the user is blocked from "Borrowing" due to hitting the "Maximum number of items charged out" (as shown in attached screen print User-details1.jpg).
- Go to Loan Details for one of the items that will charge lost item fees if lost (in my case, Retest5 and 888809) and declare one of them lost. (I did Retest5.)
- Go back to User Details and note that the user now has two blocks in effect, which is correct. She has 4 open loans and 1 lost open loan. (See attached screen print User-details2.jpg.)
- Go to Loan Details for the same item and click on Fees/Fines Incurred link.
- Transfer both fees/fines to the bursar, which will close the loan, leaving 3 open loans and no lost open loans. This means that there are now zero patron blocks in effect (as shown in attached screen print User-details3.jpg).
- So far everything is working correctly.
- Now go to Settings>Users>Patron blocks: Limits and change the "Maximum number of items charged out" setting to 3 and leaving "Maximum number of lost items" set to 0 (as shown in attached screen print Patron-limits2.jpg).
- Go back to User Details and note that the user now has the "Maximum number of items charged out" blocks in effect but not the "Maximum number of lost items". This is correct because she now has 3 open loans and 0 lost open loans. (See attached screen print User-details4.jpg.)
- Now go to Loan Details for one of the items that does not have lost item fees charged (in my case, 113039093 and 888888888 ) and declare one of them lost. (I did 888888888.) Note that the loan closes immediately given there are no lost item fees to pay.
- Go back to User Details...
Expected Results:
No patron blocks given that patron now has 2 open loans and 0 open lost loans (both below the limits set for her Patron Group).
Actual Results:
Both patron blocks are still in effect (when they shouldn't be), as shown in attached screen print User-details5-.jpg.
Additional Information:
- This bug was originally reported via
MODPATBLK-19which was closed as "Cannot Reproduce". - My original test patron, Molly Puppet, currently has no items checked out but the "Maximum number of lost items" block is still appearing for her (see attached screen print Another-example.jpg).
Interested Parties:
cmalmbor and hollyolepm
TestRail: Results
Attachments
Issue Links
- has to be finished together with
-
MODPATBLK-97 Closed loans are being counted for patron blocks "Maximum number of items charged out" and "Maximum number of lost items"
-
- Closed
-
- relates to
-
MODPATBLK-19 closed loans included in automated block calculations
-
- Closed
-