Clicking request queue link in item record doesn't work when barcode added later

Description

Steps to repro:

  1. log into snapshot

  2. Go to inventory and create an item with no barcode

  3. Create a request on that item

  4. Save the request and notice that, instead of the barcode, we display the FOLIO ID as a link to the item record (this was developed per user story which I can't find)

  5. Now edit the item and apply a barcode

  6. From the item record, click the requests link to view the request

Expected:

  • Should open Requests app showing the requests for that item (the one you created)

  • Ideally there should be something in the search box that you can clear if you want to manipulate the search results. Right now the barcode is populating which is great when there is a barcode but clearly doesn't work when there is no barcode. Do developers have a suggestions as to what we could do here?

Actual:

  • Opens requests app but the search is done by barcode and there are no matching results

--------------- Repro steps from --------------------------------------

1. Login to Chalmers' FOLIO
2. Go to Inventory
3. Go to an item that has status In process
4. Under Loan and availability, click on the number for requests (=the shortcut to request app)

Expected Result:
To get to the accurate request line in the request app.

Actual Result:
Message: No results found for [barcode]

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Cate Boerema November 4, 2019 at 9:12 AM

Thanks . Yes, we are actually waiting for pub-sub to complete so we can resolve . Good catch on the duplicates. I've closed one.

Ann-Marie Breaux November 4, 2019 at 2:49 AM
Edited

Just found and , so maybe one of those takes care of my concern? Are 345 and 327 duplicates to each other?

Ann-Marie Breaux November 4, 2019 at 2:45 AM

Hi and Tested on folio-snapshot, and it works, but it's still not quite as expected. I would expect that the barcode number would be added to the request once the barcode has been added to the item. See attached video. Leaving this In review until can review and decide if any other changes needed. Thank you!

Zak Burke September 23, 2019 at 2:02 PM

This is hopefully as simple as cleaning up src/ViewItem.js#L304-L306 so that instead of


we have

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Prokopovych

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 23, 2019 at 1:52 PM
Updated November 12, 2019 at 12:03 PM
Resolved November 4, 2019 at 9:13 AM
TestRail: Cases
TestRail: Runs