Allow the supplier item status available to move the DCB workflow to RETURN_TRANSIT

Description

 

Current Implementation

Currently when the DCB status is LOANED and the supplier item becomes available DCB will stall a PatronRequest.

Expected Implementation

When DCB detects that the supplier item has become available then DCB should trigger DCB status RETURN_TRANSIT . This suggests that instead of skipping the transit, DCB was unable to pick up the transit soon enough. This implementation will infer the transit did happen and let DCB pass through it’s happy path.

Activity

Show:

Jag Goraya October 29, 2024 at 1:53 PM

On Hold to review options after FOLIO calendar fix has been applied.

More analysis required to understand non-FOLIO impact.

Alex Scott September 18, 2024 at 9:36 AM
Edited

Update:

This change has been backed out. A side affect of this change would have been that it would prematurely finalise a request that fails virtual checkout. This issue will need to be solved to reinstate this fix.

Backout commit:

https://github.com/openlibraryenvironment/dcb-service/commit/b52ef5dced7fb6556bcac0427bfffd8027aa9063

Tracking v3 matrix:

HandleBorrowerRequestReturnTransit no longer supports supplier item available

Alex Scott September 5, 2024 at 10:18 AM
Edited

As part of this work the LOANED DCB status has been updated to reflect what has been implemented in the doc: https://openlibraryfoundation.atlassian.net/wiki/spaces/DCB/pages/2870575137/Tracking+v3+matrix

Details

Assignee

Reporter

Components

Sprint

Priority

Created September 5, 2024 at 9:33 AM
Updated February 27, 2025 at 10:03 AM

Flag notifications