Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-429

Prevent Renewal if new calculated due date is less than or equal to current due date

    XMLWordPrintable

Details

    Description

      Purpose: To Give operators and users an indication that a renew operation will have no effect on an items due date.

      Use case 1:
      In situations where users have a limited number of renewals, this would prevent them from expending a renewal which would have no effect on the due dates of their items.

      Use case 2:
      To prevent an item's due date from being set to a date prior to the current due date. Expected behavior for renewals is that they push the due date further into the future, not closer to the present.

      Scenarios:
      Scenario (new due date equals current due date)

      • Given an item is checked out
      • Given the Loan policy that will apply when the item is renewed will result in a new due date equal to the original due date
      • When the renew operation is attempted
      • Then:
        • Renewal is prevented
          • No renewal loan action should be logged
          • Renewal count should not increase
          • A modal popup should display reading:
              • Header: Item not renewed
              • Body: Renewal at this time would not change the due date.
              • Buttons: Okay

      Scenario (new due date is earlier than current due date):

      • Given an item is checked out
      • Given the Loan policy that will apply when the item is renewed will result in a new due date that is earlier than the current due date
      • When the renew operation is attempted
      • Then:
        • Renewal is prevented
          • No renewal loan action should be logged
          • Renewal count should not increase
          • A modal popup should display reading:
              • Header: Item not renewed
              • Body: Renewal at this time would not change the due date.
              • Buttons: Okay

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mpk35 Michal Kuklis
                shirea Adam Shire
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases