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

Automated patron block 'Maximum number of items charged out' not working properly

    XMLWordPrintable

Details

    • EPAM-Veg Sprint 91
    • 1
    • Vega
    • Q2 2020

    Description

      Overview:
      This bug was originally reported with user story UICHKOUT-631, but we decided to close that user story (so UI-CHECKOUT can be released) and open a separate bug. This may need to be moved to be a MODPATBLK- bug instead.

      Steps to Reproduce:

      1. Log into https://folio-snapshot.aws.indexdata.com/ as diku_admin
      2. Go to Settings>Users>Patron blocks: Conditions and set a condition for Maximum number of items charged out, putting a check next to at least Block borrowing and entering a Message to be displayed
      3. Go to Settings>Users>Patron blocks: Limits and set a limit of 3 for Patron Group 'Graduate' for Maximum number of items charged out
      4. Find a user that has a Patron Group of 'Graduate' 0 items checked out
      5. Attempt to check out 4 items

      Expected Results:
      Patron is allowed to check out the first 3 items, but is stopped from checking out the 4th item because they have reached the limit of 3 for Maximum number of items charged out

      Actual Results:
      Patron is able to check out the 4th book. When checking out the 5th book the block message pops up.

      Attachments:
      Patron blocks: Conditions settings...

      Patron blocks: Limits settings...

      Open Loans showing 4 loans for patron...

      Block message that showed up when attempting to check out 5th item...

      TestRail: Results

        Attachments

          1. Conditions.jpg
            Conditions.jpg
            41 kB
          2. Limits.jpg
            Limits.jpg
            42 kB
          3. Message-showed-on-5th.jpg
            Message-showed-on-5th.jpg
            71 kB
          4. Patron-Loans.jpg
            Patron-Loans.jpg
            127 kB
          5. screenshot-1.png
            screenshot-1.png
            37 kB
          6. screenshot-2.png
            screenshot-2.png
            45 kB

          Issue Links

            Activity

              People

                oleksandrkurash Alexander Kurash
                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