TLR (pages) aren't being fulfilled when there is an available non-requestable item at the chosen service point
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
Attachments
defines
Checklist
hideTestRail: Results
Activity

Oleksandr Hrusha September 7, 2022 at 6:09 AM
I have tested it on the bugfest-mg env. Everything works as expected.

Oleksii Petrenko August 31, 2022 at 11:23 AM
Deployed to MG bf. Please proceed with verification

Brooks Travis August 24, 2022 at 3:38 PM
Apologies. Was out the last couple of days. I should be able to assist.

Alexander Kurash August 23, 2022 at 1:38 PM
Could you please help with reviewing this ticket on Snapshot?

Alexander Kurash August 12, 2022 at 1:37 PMEdited
Proposed scenarios that are supposed to be fixed in scope of this ticket:
Scenario 1.
Given an instance with all items in status Available
AND some of the items are also pageable (request policy allows Page requests)
AND item that is closest to the pickup service point is not pageable
When page TLR (regular) is placed
Then page TLR should succeed
Scenario 2.
Given an instance with items in both statuses Available and Checked-out
AND all available items are not pageable
When hold TLR (regular) is placed
Then hold TLR should be created
Scenario 3.
Given an instance with items in both statuses Available and Checked-out
AND some of the available items are pageable
When hold TLR (regular) is placed
Then hold TLR should not be created
AND an error message should be returned: "Hold/Recall TLR not allowed: available item found for instance"
Scenario 4.
Given an instance with items in both statuses Available and Checked-out
AND all available items are not pageable
AND request policy allows any of: no type is allowed; "Page"; "Page, Hold"
When instance-level request ("old" TLR, triggered by mod-patron) is placed
Then hold TLR should be created
Scenario 5.
Given an instance with items in both statuses Available and Checked-out
AND all available items are not pageable
AND request policy for each of the items allows Page, Recall
When instance-level request ("old" TLR, triggered by mod-patron) is placed
Then recall TLR should be created
Scenario 6.
Given an instance with items in both statuses Available and Checked-out
AND some of the available items are pageable
AND request policy allows any of: "Page"; "Page, Hold"; "Page, Recall"; "Page, Hold, Recall"
When instance-level request ("old" TLR, triggered by mod-patron) is placed
Then page TLR should be created
Scenario 7.
Given an instance with items in both statuses Available and Checked-out
AND all of the available items are not pageable
AND some of the checked-out items are recallable
AND checked-out item with the closest due date is not recallable
When recall TLR (regular) is placed
Then recall TLR should be created
AND the recalled item is the one with the closest due date that is also recallable (not just the one with the closest due date)
Scenario 8.
Given an instance with items in both statuses Available and Checked-out
AND all of the available items are not pageable
AND all of the checked-out items are not recallable
When recall TLR (regular) is placed
Then recall TLR should fail
Scenario 9.
Given an instance with items in both statuses Available and Checked-out
AND some of the available items are pageable
AND some of the checked-out items are recallable
When recall TLR (regular) is placed
Then recall TLR should fail
Overview: TLR (pages) aren't being fulfilled when there is an available non-requestable item at the chosen service point
Steps to Reproduce:
Log into MG bugfest
The user Mischo tries to place a TLR with pickup service point Chalmers Main Library. The user has no previous request or loans.
Expected Results: There is one non-requestable item available at this location (Main, Mammals6ref) and one requestable item available at another location (ACE, Mammals4). I would expect the request to become a page request for Mammals4.
Actual Results: Instead I get the message
Request not allowed
Page requests are not allowed for this patron and item combination
Additional Information: If I change the pick up service point to the same location where the available requestable item is, I can place the request.
URL: https://folio-project.slack.com/archives/C020TP1FVK9/p1658837040431329
Interested parties: