Override failed renewal when renewal will not change the due date

Description

Purpose: Allow users to override a failed renewal if the renewal has failed because it will not change the due date, and provide a date picker for them to select a new due date.

Scenarios

  1. Scenario

    • Given a renewal that has failed only because renewal would not change the due date

    • When the Renew confirmation modal displays

    • Then:

      • Display renewal status, title, item status, due date, requests, barcode, effective call number string, loan policy for each item

      • Controls:

        • Override

        • Close (primary styling)

  2. Scenario

    • Given the modal in Scenario 1

    • When the user clicks override

    • Then display the Override & renew modal

      • Date picker (required)

      • For each item, display renewal status, new due date, title, item status, due date, requests, barcode, effective call number string, renewal count, loan policy

        • New due date: Select due date above

      • Additional information (required) text field

      • Controls: Cancel, override

  3. Scenario

    • Given the modal from Scenario 1

    • When the user clicks Close

    • Then close the modal and do not renew the item

  4. Scenario

    • Given the modal from Scenario 2, with all required fields completed

    • When the user clicks Override

    • Then:

      • renew the item through override, with new due date as selected

      • close modal

  5. Scenario

    • Given the modal from Scenario 2

    • When the user clicks Cancel

    • Then return to Renew Confirmation modal

Notes:

  • This behavior should be similar to overriding a failed renewal where the loan policy says the loan is not renewable (override allowed; user is required to select a date).

  • Current behavior: user is not allowed to override a failed renewal.

Renew confirmation:

Override & renew:

Environment

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Emma BoettcherOctober 13, 2020 at 10:06 PM

tested on folio-snapshot as diku_admin.

thanks for letting me know it was a due date in the past issue. I would like to get that cleaned up so that a renewal cannot set the due date in the past (have started writing , though still in draft), but haven't finished the story yet.

Matt ConnollyOctober 12, 2020 at 1:16 PM

Thanks, Bohdan. I think the error message is a little misleading (renewal would change the due date, after all), but you're right about the behavior.

, what should happen when trying to change the due date to something earlier?

Bohdan SuprunOctober 12, 2020 at 8:44 AM

Hi , ,

This happens when the override due date (the one set in the data picker) is before the current loan due date.

Emma BoettcherOctober 9, 2020 at 6:15 PM

Tested this on snapshot. I can begin overriding a failed renewal, but when I confirm the override, I get this error:

Matt ConnollyOctober 7, 2020 at 7:54 PM

Thanks, ! It does work now.

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Prokopovych

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 14, 2020 at 6:49 PM
Updated October 16, 2020 at 10:53 AM
Resolved October 13, 2020 at 10:06 PM
TestRail: Cases
TestRail: Runs