Modal Loop When Move Item on Request Fails Due to Policy

Description

Overview:

When attempting to move a request to a different item but the move is not allowed because the permitted request type (by whitelist) is not allowed (by policy), then the request type change modal is presented stating that the request will be changed to the type that was just disallowed by policy. If the user clicks "Confirm" then they are presented with the "<request type> not allowed for this patron and item combination" modal and the same confirmation dialog is presented again when you click "close".
Steps to Reproduce:

  1. Log into https://bugfest-kiwi.folio.ebsco.com

  2. Find an item with status "Available"

  3. Create a (or find an existing) circulation rule for a chosen loan type that includes a request policy that permits page requests

  4. Assign the chosen loan type to the available item from step 2

  5. Create a new request for the item (request will be a page request)

  6. Create a (or use an existing) circulation rule  for a chosen loan type that includes a request policy that does not allow page requests

  7. Create a (or use an existing) duplicate of the item from step 2 and assign the chosen loan policy from step 6 and make place it in an Available state

  8. In Requests, locate the page request from step 5, and chose "Move request" from the request detail action menu

  9. From the list of items presented, select the item from step 7

Expected Results:

The "move request" action will fail and present the modal: "Page requests are not allowed for this patron and item combination". When the user selects "close" they will be returned to the item selection modal.

Actual Results:

The user is presented with the "Page requests are not allowed for this patron and item combination" modal, but when they select "close" they are presented a modal informing them that: "Request will be converted to Page." with "Confirm" and "Cancel" options. If the user selects "Confirm they are presented with the "...not allowed for this patron and item combination" modal, ad infinitum.

Additional Information:
URL:
Interested parties:

Environment

None

Potential Workaround

None

Attachments

2
  • 30 Jun 2022, 06:45 AM
  • 25 Jan 2022, 11:27 PM

Checklist

hide

TestRail: Results

Activity

Show:

Stephanie Buck June 30, 2022 at 12:05 PM

Thank you, Stas!

Stanislau Snapok June 30, 2022 at 6:46 AM

Hi .
Tested on the snapshot, works as expected.
Evidence added.

Brooks Travis February 1, 2022 at 5:23 PM

works for me.

Stephanie Buck February 1, 2022 at 2:08 PM

. Stanislau and Dmitry have looked into this and technically the modal works as designed. It's a poor user experience, however. We think this should be an enhancement story rather than a bug. Please let me know if this doesn't work for you. 

Brooks Travis January 25, 2022 at 11:28 PM

 See attached screen recording

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

Release

Not Scheduled

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 24, 2021 at 10:23 PM
Updated August 5, 2022 at 1:01 PM
Resolved June 30, 2022 at 12:05 PM
TestRail: Cases
TestRail: Runs

Flag notifications