Intermittent issue: Cannot save item request from item with status On Order, because need a barcode

Description

Overview: Intermittently, I am not able to complete a request on an item without barcode, because of a validation error on the “Item barcode*” field saying: “Please select an item and hit enter”.

Intermittent, because I CAN reproduce, but not consistently.

No error message appears in Dev Tools. When I then refresh the web page, I can successfully submit the request.
Orchid_Requests_ItemWithNoBarcodeCantBeRequested1stTime_230324_jb

 

Steps to Reproduce – The first time I tried:

Preconditions:
_ Have the barcode of an active user ready, to serve as the requester.
_ In Snapshot, I created my own staff user, to avoid using diku_admin.

  1. Log into Snapshot >> Open the app „Orders“ >> Under „Search & filter“ to the left of the screen, select “Orders” >> Click on “Actions” on the right of the screen, and select “+ New”

  2. Template name = Amazon book orders (Amazon-B)  >>  Save & close

  3. When viewing the order in the third pane, click on “Actions” in the “PO lines” accordion >> Select “+ Add PO line”

  4. Title* = Julie's Recipe for Success >> Physical unit price* = 50 >> Save & close

  5. When viewing the PO Line in the third pane, click on the arrow pointing towards the left, to return to the order >> When viewing the order in the third pane, click on “Actions” >> Select “Open” >> Submit

  6. When viewing the order in the third pane, click on the PO line, by putting your mouse over the title in the “PO lines” accordion (the line will highlight) >> When viewing the PO line details in the third pane, click on the hyperlink “Julie’s Recipe for Success”

  7. You are now in the app “Inventory” >> When viewing the Instance record in the third pane, open the Holding to show the item >> Click on “No barcode” to open the item

  8. When viewing the item, click on “Actions” >> Select “+ New request”

  9. You are now in the app “Requests” >> Enter the Requester barcode* >> Enter >> Pickup service point* = (Select one, it doesn’t matter which) >> Save & close

Expected Results: The request is placed successfully.

Actual Results: I cannot submit the request, because of a validation error on the “Item barcode*” field saying: “Please select an item and hit enter”.
When I refresh the web page, I can successfully submit the request; this happened every single time I managed to reproduce this issue.
If I refreshed the new request page before entering the Requester barcode, I could also always successfully submit the request.

 

Additional Information:

You need these three ingredients to replicate:

  1. This seems to happen more often after I have logged back in anew into FOLIO – i.e. I could more reliably replicate when I started this workflow having just logged back in.

  2. I am dealing with a NEWLY created item from an Order – i.e. I cannot replicate for items that were already available in Inventory.

  3. This happens only for the FIRST request on that item – i.e. I cannot replicate when placing subsequent requests for that item.

I can replicate in Snapshot and in Orchid BF. This issue was reported by users with Nolana.

Interested parties:  

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

Refresh the new request page as soon as you open it. At the latest, you can refresh the page when you get the error, and fill out the request anew.

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

julie.bickle May 4, 2023 at 12:39 PM

I confirm that this is fixed in Snapshot:

  • With a new staff user, having just logged in,

  • With a new order, PO line and item

  • With the first request.

Oleksandr Hrusha May 4, 2023 at 9:58 AM

Hello could you please confirm fix?

Oleksandr Hrusha May 4, 2023 at 9:58 AM

Checked on snapshot, Work as expected. See attachment:

julie.bickle April 28, 2023 at 1:39 PM

See this Slack post: https://folio-project.slack.com/archives/C3G05TF3R/p1682688526139399

"From the Item record attached to an Instance, click on Actions and New request; in Requests, the Item barcode is already populated, (we change Request type from default Hold to Recall), search for Patron; select from Pickup service point dropdown.  At this point the request CANNOT be saved as for some reason the Item barcode has disappeared and FOLIO wants us to fill out this field (again).  To remedy this, we have to cancel the request, go through the process again, and then it works."

julie.bickle March 24, 2023 at 9:32 AM

P3 because it's not systematic + there is a very easy workaround.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

Release

Poppy (R2 2023)

RCA Group

Implementation coding issue

Affected releases

Orchid (R1 2023)
Nolana (R3 2022)

Affected Institution

!!!ALL!!!

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 24, 2023 at 9:30 AM
Updated October 5, 2023 at 1:33 PM
Resolved May 4, 2023 at 12:39 PM
TestRail: Cases
TestRail: Runs