Uploaded image for project: 'mod-patron-blocks'
  1. mod-patron-blocks
  2. MODPATBLK-126

"Aged to lost item" that is "Declared lost", then renewed is still counted towards 'Maximum number of lost items'

    XMLWordPrintable

Details

    • EPAM-Veg Sprint 137
    • 1
    • Vega
    • Lotus R1 2022 Bug Fix
    • Implementation coding issue

    Description

      Note: This new error was discovered while Holly was testing CIRC-1474 on Lotus BugFest!

      Overview: A patron with 4 "Aged to lost" items is correctly blocked when the 'Maximum number of lost items' Limit is set to 3. When one 'Aged to lost' item is "Declared lost", then returned/renewed, the patron then only has 3 lost items but the block is still appearing.

      Steps to Reproduce:

      1. Login to Lotus BugFest with an admin account
      2. Set the Patron block: Limit _ to 4 for the patron's _Patron group.
      3. Check out 4 items to a test patron, making sure they will be due and then "Aged to lost" quickly.
      4. After the items have all 'Aged to lost", open up User Details.
      5. You should see that the 'Maximum number of lost items' block is in effect. This is because the user has 4 items lost, and the limit is 3.
      6. Now open Loan Details for one of the items and select "Declare lost".
      7. After the item has been "Declared lost", go back to User Details.
      8. You should see that the 'Maximum number of lost items' block is still in effect. This is because the user still has 4 items lost, and the limit is 3.
      9. Renew the item that is "Declared lost".

      Expected Results:
      'Maximum number of lost items' block is no longer in effect (because the user now has 3 items lost, and the limit is 3).

      Actual Results:
      'Maximum number of lost items' block is still in effect.

      Additional Information:

      • Returns seems to work fine--it's only renewals that are a problem.
      • May not matter if 'Aged to lost" item is "Declared lost" before it is renewed.

      Attachments:
      Patron-only-has-5-lost-items-1.jpg - shows patron has only 5 lost items after 1 has been renewed.
      Patron-only-has-5-lost-items-2.jpg - shows max limit is set to 5.
      Patron-only-has-5-lost-items-3.jpg - shows block still in effect.

      Interested parties:
      hollyolepm

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                bisecomsergiy Sergiy Bichurin
                hollyolepm Holly Mistlebauer
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases