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

Investigation: Juniper: automatic block 'Maximum fee/fine balance" not removed after item renewed for patron with a large volume of loans

    XMLWordPrintable

Details

    • Vega
    • R2 2021 Hot Fix #7
    • Yes
    • Approved via release_bug_triage Slack channel.
    • Hide
      Original issue reported by Cornell (this ticket, MODPATBLK-109) - 'Max fee/fine balance' block is SOMETIMES not cleared despite the fact that fees/fines are closed after renewal.
      MODPATBLK-112 - the same as MODPATBLK-109, only for check-in. 'Max fee/fine balance' block is SOMETIMES not cleared despite the fact that fess/fines are closed, but they were closed as a result of a check-in rather than renewal.

      1 and 2 seem to have the same root cause - some of the FEE_FINE_BALANCE_CHANGE messages are not delivered from mod-feesfines to mod-patron-blocks for some reason. This would explain why it only happens sometimes and cannot be reproduced on other envs. It can be a pub-sub or Kafka issue and it can possibly affect other blocks. The fact that it happens after renewal in one case and after check-in in another case is, most probably, insignificant. Please check comment & workaround field in MODPATBLK-112 where there is a workaround for such cases - how to sync data when some of the messages are lost.
      Show
      Original issue reported by Cornell (this ticket, MODPATBLK-109 ) - 'Max fee/fine balance' block is SOMETIMES not cleared despite the fact that fees/fines are closed after renewal. MODPATBLK-112 - the same as MODPATBLK-109 , only for check-in. 'Max fee/fine balance' block is SOMETIMES not cleared despite the fact that fess/fines are closed, but they were closed as a result of a check-in rather than renewal. 1 and 2 seem to have the same root cause - some of the FEE_FINE_BALANCE_CHANGE messages are not delivered from mod-feesfines to mod-patron-blocks for some reason. This would explain why it only happens sometimes and cannot be reproduced on other envs. It can be a pub-sub or Kafka issue and it can possibly affect other blocks. The fact that it happens after renewal in one case and after check-in in another case is, most probably, insignificant. Please check comment & workaround field in MODPATBLK-112 where there is a workaround for such cases - how to sync data when some of the messages are lost.
    • Cornell, Spokane Public Libraries, TAMU, University of Chicago
    • TBD

    Description

      Overview: Patron automatic blocks are aged to lost, then the patron renews them- but the block is not removed 
      Steps to Reproduce:

      1. Patron checks out item 
      2. a trigger to automatic block happens
      3. the item ages to lost 
      4. patron ties to renew - but can't so it is overriden to renew 
      5. the automatic block is not removed

      Expected Results: the block is removed
      Actual Results: the block remains
      Additional Information:
      URL:
      Interested parties:

      dhowell dbottorff

      TestRail: Results

        Attachments

          1. block-not-cleared.log
            39 kB
          2. Closed Fines.png
            Closed Fines.png
            192 kB
          3. DUMP - ,circulation,loans query=(userId==.txt
            40 kB
          4. Fine Detail Screen.png
            Fine Detail Screen.png
            128 kB
          5. folio-1642774002901.json
            2 kB
          6. folio-1642774002901 - New.json
            3 kB
          7. logs.zip
            2.76 MB
          8. New Screenshot.PNG
            New Screenshot.PNG
            114 kB
          9. Open Fine Screen.png
            Open Fine Screen.png
            74 kB
          10. Patron Screen.png
            Patron Screen.png
            103 kB
          11. screenshot-1.png
            screenshot-1.png
            29 kB
          12. Screen Shot 2022-01-13 at 9.13.19 AM.png
            Screen Shot 2022-01-13 at 9.13.19 AM.png
            142 kB
          13. Screen Shot 2022-01-13 at 9.14.02 AM.png
            Screen Shot 2022-01-13 at 9.14.02 AM.png
            93 kB

          Issue Links

            Activity

              People

                Unassigned Unassigned
                Anya N. Arnold Anya Arnold
                Votes:
                1 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases