Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-1207

SPIKE: Not able to renew item due to refund error

    XMLWordPrintable

Details

    • EPAM-Veg Sprint 121, EPAM-Veg Sprint 123
    • 3
    • Vega

    Description

      NOTE TO HOLLY FROM HOLLY:  The fix for this bug has likely also fixed CIRC-1213, so test both CIRC-1207 and CIRC-1213 when this ticket is available for testing.

       

      Overview:  If an item is renewed after following the steps below, a system error  occurs.  The situation that causes this error to occur is an edge case, so the Priority is P3.  Holly found this error while testing something else on the Juniper BugFest instance, and has reproduce the error twice.

      Steps to Reproduce:

      1. Log into the Juniper BugFest instance as an admin (with all permissions).
      2. Check out an item to a test patron using a Loan Policy with no grace period and multiple renewals allowed.  (I used Holly-1-min-loan.)
      3. Allow the item to age to lost, billing patron a Lost Item Fee of 100.00 and a Lost Item Processing Fee of 25.00,  Make sure the Lost Item Fee Policy is set up to age items to lost,, charge the Lost Item Processing Fee if item aged to lost, and refund the Lost Item Processing Fee is item returned/renewed.  (I used Holly-aged-2-lost-immediately.)
      4. Partially pay or transfer 20.00 of the  aged to lost Lost Item Fee.
      5. Partially pay or transfer 20.00 of the  aged to lost Lost Item Processing Fee.
      6. Renew the item (will need to override the renewal due to item being aged to lost).
      7. Note that the patron has been refunded the 40.00 they paid/transferred and the lost item fees have been "Cancelled item renewed."
      8. Now declare the item lost,, which will result in billing the patron a second Lost Item Fee of 100.00 and a Lost Item Processing Fee of 25.00,  
      9. Partially pay or transfer 20.00 of the  aged to lost Lost Item Fee.
      10. Partially pay or transfer 20.00 of the  aged to lost Lost Item Processing Fee.
      11. Now renew the item again, which will require an override.

      Expected Results:  

      1. Item is renewed.
      2. Patron is refunded the 40.00 they paid/transferred for the declared lost  fees.

      Actual Results:

      1.  System error occurs (as shown in attached screen prints).
      2. Patron is not refunded the 40.00 they paid/transferred for the declared lost  fees.

      Additional Information:

      A similar error is occurring up check-in, as described in UICHKIN-295.  The only difference in the steps is #11, when we renew the item instead of returning it (like UICHKIN-295 does).

      Interested parties:

      TestRail: Results

        Attachments

          1. 11486494-error.jpg
            11486494-error.jpg
            295 kB
          2. 11486495-error.jpg
            11486495-error.jpg
            308 kB
          3. CIRC-1207.xlsx
            10 kB

          Issue Links

            Activity

              People

                roman-barannyk Roman Barannyk
                hollyolepm Holly Mistlebauer
                Holly Mistlebauer Holly Mistlebauer
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases